Hi folks,
First of all, I think white space is generally not acceptable as part of
username. But right now web2py accepts username such as "space inside".
Actually, web2py defines the username validator like this:
[IS_MATCH('[\w\.\-]+'), ...]
so space is presumably not an intention.
The fix is:
[IS_MATCH('[\w\.\-]+', strict=True, error_message='Only allow
a-zA-Z0-9_-.'), ...]
Do I need to write an issue to google code issue tracker?
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.