Titles containing ./ declared invalid
This commit is contained in:
parent
170d0361dd
commit
8324dcee58
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue