summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStella Power2010-08-14 12:50:03 (GMT)
committer Stella Power2010-08-14 12:50:03 (GMT)
commit84bca98ab096439521643d9fd65fde9c00b02e3b (patch)
treea0e02ef047c065a9b529c0df94ead0e758450a1e
parentedf90a405273fce61615577aafca30cce523bc59 (diff)
modified REQUEST_URI rule so it doesn't check within the request_uri() function
itself.
-rw-r--r--includes/coder_security.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/coder_security.inc b/includes/coder_security.inc
index a6e6c4f..e286e02 100644
--- a/includes/coder_security.inc
+++ b/includes/coder_security.inc
@@ -54,12 +54,14 @@ function coder_security_reviews() {
'#type' => 'regex',
'#value' => '(?-i)\$REQUEST_URI',
'#warning_callback' => '_coder_security_request_uri_warning',
+ '#function-not' => '^request_uri$',
),
array(
'#type' => 'regex',
'#source' => 'allphp',
'#value' => '(?-i)\"REQUEST_URI\"|\'REQUEST_URI\'',
'#warning_callback' => '_coder_security_request_uri_warning',
+ '#function-not' => '^request_uri$',
),
array(
'#type' => 'regex',