Description

MoinMoin 1.3 doesn't accept user name with non-ASCII alpha-numeric characters. For instace, "AloizsLešinskis". Though, 'š' is a alpha-numeric character. I've tryed other characherts as well. Strangely enough, I successfully registered a user with the very same name on MoinMoin ;)

Well, any way, moinmoin rules!!!

Steps to reproduce

  1. create profile wiht user name, for instace, "AloizsLešinskis"

  2. received: Invalid user name 'AloizsLešinskis'. Name may contain any Unicode alpha numeric character, with optional one space between words. Group page name is not allowed.

Example

https://moin.datapro.lv/UserPreferences

Details

MoinMoin Version

moin 1.3.1 (Revision patch-434)

OS and Version

Red Hat Linux 3.2.2-5

Python Version

2.4

Server Setup

standalone (internal)

Server Details

proxypath through Apache 1.3

Workaround

Discussion

Moin does accept non ascii user names, just as the error message describes, and you verified this by registering the same name in this wiki.

The problem is probably related to your setup - you are probably the first to try this setup. I recommend to use one of the tested setups: cgi, standalone, twisted, fast cgi or mod python. If you like to use standalone and apache proxypath, you are on your own, unless one of the developers will try this setup.

If you like to go in the hard way:

-- NirSoffer 2005-01-13 20:43:21

That is the fastest server solution (behind fastcgi).

-- RadomirsCirskis 2005-01-13 21:28:23

So how this code works on this wiki? :)

Lets try:

Python 2.4 (#1, Dec 20 2004, 08:22:57) 
[GCC 3.3 20030304 (Apple Computer, Inc. build 1666)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> name = u'\u05d0\u05d1\u05d2' # ABC in Hebrew
>>> name.isalnum() or name is name.isspace()
True

yea, if you check this link: https://moin.datapro.lv/FrontPage?action=test , you can see that many tests fail on your system while only two fail (broken test data) on most 1.3.1 installations. I guess its not a python bug but something bad on this certain install. And of course you do not bother us, reporting bugs is important! -- NirSoffer 2005-01-13 21:47:47

Plan


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/AlphaNumericRejected (last edited 2007-10-29 19:10:01 by localhost)