Commit 71af985a authored by glondu's avatar glondu

Patch de Max pour n'autoriser que les WikiNoms.

darcs-hash:20060502134437-68412-3aa4fdddb011cd125b91d0bb1881d179f455b5c4.gz
parent 46a205c2
......@@ -148,7 +148,12 @@ def isValidName(request, name):
@param name: user name, unicode
"""
normalized = normalizeName(name)
return (name == normalized) and not wikiutil.isGroupPage(request, name)
#### HACK CRANS
#return (name == normalized) and not wikiutil.isGroupPage(request, name)
return not name or ((name == normalized) \
and not wikiutil.isGroupPage(request, name)
and wikiutil.isStrictWikiname(name))
#### HACK CRANS
def encodeList(items):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment