From: Vsevolod Stakhov Date: Thu, 16 Aug 2018 12:40:44 +0000 (+0100) Subject: [Minor] Add fuzzy headers to CORS headers list X-Git-Tag: 1.8.0~251 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6c6a1e66344d15f311f987b0905dc0ac0d028dcf;p=rspamd.git [Minor] Add fuzzy headers to CORS headers list --- 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,