dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
170d036
)
Titles containing ./ declared invalid
author
Tim Starling
<tstarling@users.mediawiki.org>
Fri, 28 May 2004 07:51:38 +0000
(07:51 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Fri, 28 May 2004 07:51:38 +0000
(07:51 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
86262db
..
4318110
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-718,8
+718,8
@@
class Title {
return false;
}
- # "." and ".." conflict with the directories of those names
- if ( $r === "." || $r === ".." ) {
+ # "." and ".." conflict with the directories of those names
a
+ if ( $r === "." || $r === ".."
|| strpos( $r, "./" ) !== false
) {
return false;
}