Titles containing ./ declared invalid

This commit is contained in:
Tim Starling 2004-05-28 07:51:38 +00:00
parent 170d0361dd
commit 8324dcee58

View file

@ -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 namesa
if ( $r === "." || $r === ".." || strpos( $r, "./" ) !== false ) {
return false;
}