MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onRequestHasSameOriginSecurity ( $request) | |
Use this hook to determine if the request is somehow flagged to lack same-origin security. | |
Stable to implement.
Definition at line 11 of file RequestHasSameOriginSecurityHook.php.
MediaWiki\Api\Hook\RequestHasSameOriginSecurityHook::onRequestHasSameOriginSecurity | ( | $request | ) |
Use this hook to determine if the request is somehow flagged to lack same-origin security.
Note that if the "somehow" involves HTTP headers, you'll probably need to make sure the header is varied on.
WebRequest | $request |
Implemented in MediaWiki\Api\ApiHookRunner.