Closed nickdaugherty closed 9 years ago
These are acceptable:
$_SERVER['REQUEST_URI']
$_SERVER['SCRIPT_FILENAME']
$_SERVER['HTTP_HOST']
I submitted a pull request for this, it's on https://github.com/Automattic/vip-scanner/pull/83
Would it be possible to keep this in VIPRestrictedPatternsCheck
?
Reason for the standalone created class was to allow skipping of this check type when https://github.com/Automattic/vip-scanner/issues/79 is implemented.
It would need the option to filter the acceptable variables if added to VIPRestrictedPatternsCheck.
Closing because the PR related to this was merged in 9ed5d16 via #83.
Most entries in the
$_SERVER
superglobal are not available or will cause unexpected results on WP.com VIP due to full page caching.Flag as blocker.