projects
/
atutor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69c1011
)
4773: strpos takes 2 parameters. The first one is missing, should be $_REQUEST[p].
author
harris wong
<hwong@ocad.ca>
Tue, 16 Aug 2011 18:37:53 +0000
(18:37 -0000)
committer
harris wong
<hwong@ocad.ca>
Tue, 16 Aug 2011 18:37:53 +0000
(18:37 -0000)
docs/bounce.php
patch
|
blob
|
history
diff --git
a/docs/bounce.php
b/docs/bounce.php
index
041440c
..
ea4477a
100644
(file)
--- a/
docs/bounce.php
+++ b/
docs/bounce.php
@@
-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'] = "";
}