Jump to content

Руководство:$wgAllowCrossOrigin

From mediawiki.org
This page is a translated version of the page Manual:$wgAllowCrossOrigin and the translation is 12% complete.
Безопасность: $wgAllowCrossOrigin
Allow anonymous cross origin requests to the REST API.
Введено в версии:1.36.0 (Gerrit change 608190; git #ab06b056)
Удалено в версии:всё ещё используется
Допустимые значения:(boolean)
Значение по умолчанию:false

Details

Allow anonymous cross-origin requests (from any origin) to the REST API . (The action API always allows anonymous cross-origin requests.)

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

See also