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:
5b559bb
)
Disallow / character in new usernames, as this conflicts with subpages (this was...
author
Brion Vibber
<brion@users.mediawiki.org>
Fri, 6 Jun 2003 19:10:22 +0000
(19:10 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Fri, 6 Jun 2003 19:10:22 +0000
(19:10 +0000)
includes/SpecialUserlogin.php
patch
|
blob
|
history
diff --git
a/includes/SpecialUserlogin.php
b/includes/SpecialUserlogin.php
index
806ba79
..
e409e49
100644
(file)
--- a/
includes/SpecialUserlogin.php
+++ b/
includes/SpecialUserlogin.php
@@
-31,7
+31,8
@@
function wfSpecialUserlogin()
}
$wpName = trim( $wpName );
if ( ( "" == $wpName ) ||
- preg_match( "/^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}$/", $wpName ) )
+ preg_match( "/^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}$/", $wpName ) ||
+ (strpos( $wpName, "/" ) !== false) )
{
mainLoginForm( wfMsg( "noname" ) );
return;