Skip to content
Snippets Groups Projects
Commit c87aae26 authored by David M. Lee's avatar David M. Lee
Browse files

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
parent 3407f27c
Branches
Tags
No related merge requests found
......@@ -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));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment