# HG changeset patch # User Christophe de Vienne # Date 1419326569 -3600 # Node ID 6a1d0aa3ac8575b87c829d6c49fb4a1fb1e66a5e # Parent 16cb60d6424dd8746b6a733f66eaa3c6f71f98f4 Fix cors 'origin' parameter passing Closes #4783343 diff -r 16cb60d6424d -r 6a1d0aa3ac85 pyramid_cubicweb/__init__.py --- a/pyramid_cubicweb/__init__.py Sat Jan 03 00:14:06 2015 +0100 +++ b/pyramid_cubicweb/__init__.py Tue Dec 23 10:22:49 2014 +0100 @@ -39,7 +39,7 @@ # pyramid_cubicweb anymore app = wsgicors.CORS( app, - origin=cwconfig['access-control-allow-origin'], + origin=' '.join(cwconfig['access-control-allow-origin']), headers=cwconfig['access-control-allow-headers'], methods=cwconfig['access-control-allow-methods'], credentials='true')