4773: strpos takes 2 parameters. The first one is missing, should be $_REQUEST[p].
authorharris wong <hwong@ocad.ca>
Tue, 16 Aug 2011 18:37:53 +0000 (18:37 -0000)
committerharris wong <hwong@ocad.ca>
Tue, 16 Aug 2011 18:37:53 +0000 (18:37 -0000)
docs/bounce.php

index 041440c..ea4477a 100644 (file)
@@ -152,7 +152,7 @@ if (!empty($_REQUEST['pu'])) {
 } elseif (!empty($_REQUEST['p'])) {
        //For search
     //p is a relative path, check that.  #4773
-    if (strpos('http') !== false) {
+    if (strpos($_REQUEST['p'], 'http') !== false) {
         //if not relative, reset it.
         $_REQUEST['p'] = "";
     }