summaryrefslogtreecommitdiff
path: root/res/res_ari.c
diff options
context:
space:
mode:
authorDavid M. Lee <dlee@digium.com>2013-10-21 18:59:22 +0000
committerDavid M. Lee <dlee@digium.com>2013-10-21 18:59:22 +0000
commitc87aae26f852584e910c235b4a67a680d607323e (patch)
tree01198dfcdc3df8c88ded6322e84318e6562364ec /res/res_ari.c
parent3407f27c888ee38aec1d044022a55795d51ba955 (diff)
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 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@401316 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_ari.c')
-rw-r--r--res/res_ari.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_ari.c b/res/res_ari.c
index f4eca2e43..d666d8d57 100644
--- a/res/res_ari.c
+++ b/res/res_ari.c
@@ -441,7 +441,7 @@ static void handle_options(struct stasis_rest_handlers *handler,
/* 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));