summaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-08-16 13:40:44 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-08-16 13:41:09 +0100
commit6c6a1e66344d15f311f987b0905dc0ac0d028dcf (patch)
tree7a7f66a7b5133a865306473f046a1d4c4ae67acf /src/controller.c
parent0f5c83a3f6bc5e3f446bff337292b9a5e2703344 (diff)
downloadrspamd-6c6a1e66344d15f311f987b0905dc0ac0d028dcf.tar.gz
rspamd-6c6a1e66344d15f311f987b0905dc0ac0d028dcf.zip
[Minor] Add fuzzy headers to CORS headers list
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controller.c b/src/controller.c
index 5591db264..72220aa3c 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -2876,7 +2876,7 @@ rspamd_controller_handle_unknown (struct rspamd_http_connection_entry *conn_ent,
rspamd_http_message_add_header (rep, "Access-Control-Allow-Methods",
"POST, GET, OPTIONS");
rspamd_http_message_add_header (rep, "Access-Control-Allow-Headers",
- "Content-Type, Password, Map");
+ "Content-Type,Password,Map,Weight,Flag");
rspamd_http_connection_reset (conn_ent->conn);
rspamd_http_router_insert_headers (conn_ent->rt, rep);
rspamd_http_connection_write_message (conn_ent->conn,