Skip to content

Commit 94aed74

Browse files
committed
Change allow_opaque_origin to false default.
1 parent 853439c commit 94aed74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/parser.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,7 @@ options_metadata parser::load_settings() THROWS
805805
(
806806
"web.allow_opaque_origin",
807807
value<bool>(&configured.server.web.allow_opaque_origin),
808-
"Allow requests from opaue origin (see CORS), multiple allowed, defaults to true."
808+
"Allow requests from opaue origin (see CORS), multiple allowed, defaults to false."
809809
)
810810
(
811811
"web.path",
@@ -862,7 +862,7 @@ options_metadata parser::load_settings() THROWS
862862
(
863863
"explore.allow_opaque_origin",
864864
value<bool>(&configured.server.explore.allow_opaque_origin),
865-
"Allow requests from opaue origin (see CORS), multiple allowed, defaults to true."
865+
"Allow requests from opaue origin (see CORS), multiple allowed, defaults to false."
866866
)
867867
(
868868
"explore.path",

0 commit comments

Comments
 (0)