[asterisk-commits] dlee: trunk r401316 - in /trunk: ./ res/res_ari.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Oct 21 13:59:23 CDT 2013


Author: dlee
Date: Mon Oct 21 13:59:22 2013
New Revision: 401316

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=401316
Log:
Fixed malformed Access-Control-Allow-Methods header. Was causing Safari to barf on POST and DELETE.
........

Merged revisions 401106 from http://svn.asterisk.org/svn/asterisk/branches/12

Modified:
    trunk/   (props changed)
    trunk/res/res_ari.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.

Modified: trunk/res/res_ari.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_ari.c?view=diff&rev=401316&r1=401315&r2=401316
==============================================================================
--- trunk/res/res_ari.c (original)
+++ trunk/res/res_ari.c Mon Oct 21 13:59:22 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 asterisk-commits mailing list