[Zope-CMF] Illegal username characters

David (Hamish) Harvey david.harvey@bristol.ac.uk
Wed, 31 Jul 2002 16:24:39 +0100


Look for __ALLOWED_MEMBER_ID_PATTERN in RegistreationTool.py - the only 
characters allowed by default are A-Z a-z 0-9 and _

You can add some characters to that - I allow . and - in addition.

Your easiest bet would be to replace spaces with _

Cheers,
Hamish

--On Wednesday, July 31, 2002 18:29:51 +0200 Yoni Hammer Kossoy 
<yonih@mandelschool.org.il> wrote:

> Hello,
>
> I'd like to take a user's actual name and create a username from the
> string. Does anyone have a list of text characters that are not allowed
> by CMF in usernames?
>
> Thanks in advance,
>
> Yoni Hammer-Kossoy
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://collector.zope.org/CMF for bug reports and feature requests
>



--
Hamish Harvey (aka David)
Network Coordinator, FloodRiskNet
Research Assistant, Water and Environmental Management Research Centre
University of Bristol, Lunsford House, Cantock's Close, Bristol BS8 1UP
Tel: +44 (117) 9289768 Fax: +44 (117) 9289770
Email: david.harvey@bristol.ac.uk/hamish@floodrisknet.org.uk
PGP Key Fingerprint: 6F15 A1C7 342F 2F87 E2CC  176D 1072 8A5B 20E8 E497
WWW: http://www.cen.bris.ac.uk/civil/pgra/dph/dph.htm