Jump to content

Manual:$wgAllowCrossOrigin

From mediawiki.org
(Redirected from $wgAllowCrossOrigin)
Security: $wgAllowCrossOrigin
Allow anonymous cross origin requests to the REST API.
Introduced in version:1.36.0 (Gerrit change 608190; git #ab06b056)
Removed in version:Still in use
Allowed values:(boolean)
Default value:false

Details

[edit]

Allow anonymous cross origin requests to the REST API.

This should be disabled for intranet sites (sites behind a firewall).