MediaWiki REL1_35
RequestHasSameOriginSecurityHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Api\Hook;
4
5use WebRequest;
6
23 public function onRequestHasSameOriginSecurity( $request );
24}
The WebRequest class encapsulates getting at data passed in the URL or via a POSTed form stripping il...
onRequestHasSameOriginSecurity( $request)
Use this hook to determine if the request is somehow flagged to lack same-origin security.