[svn-commits] dlee: branch 12 r401106 - /branches/12/res/res_ari.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Oct 16 16:17:25 CDT 2013
Author: dlee
Date: Wed Oct 16 16:17:24 2013
New Revision: 401106
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=401106
Log:
Fixed malformed Access-Control-Allow-Methods header. Was causing Safari to barf on POST and DELETE.
Modified:
branches/12/res/res_ari.c
Modified: branches/12/res/res_ari.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/res/res_ari.c?view=diff&rev=401106&r1=401105&r2=401106
==============================================================================
--- branches/12/res/res_ari.c (original)
+++ branches/12/res/res_ari.c Wed Oct 16 16:17:24 2013
@@ -441,7 +441,7 @@
/* CORS 6.2 #9 - "Add one or more Access-Control-Allow-Methods headers
* consisting of (a subset of) the list of methods."
*/
- ast_str_append(&response->headers, 0, "%s: OPTIONS,%s\r\n",
+ ast_str_append(&response->headers, 0, "%s: OPTIONS%s\r\n",
ACA_METHODS, ast_str_buffer(allow));
More information about the svn-commits
mailing list