Is there any way that I can make the Username field in Self-Registration accept non-alphanumeric characters? Is there any reason why it would be a bad idea to do that? Any help would be greatly appreciated.
Ryan
Non-Alphanumeric?
Re: Non-Alphanumeric?
Hello Ryan,
Pierre M.
What about asking eBay, Google, Yahoo, MySpace, DailyMotion and all other internet Majors what are their reasons not to do that ?rynoceris84 wrote: Is there any way that I can make the Username field in Self-Registration accept non-alphanumeric characters? Is there any reason why it would be a bad idea to do that?
Pierre M.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Non-Alphanumeric?
Well, I can think of two reasons
1) Non alphanumeric character support would make it alot easier to exploit any potential SQL injection bugs (especially since this is a key field, and used all over the place)
2) Non alphanumeric character support may cause problems with database character sets, or the html character set
and introduce alot more bugs than I'm prepared to handle at the moment.
1) Non alphanumeric character support would make it alot easier to exploit any potential SQL injection bugs (especially since this is a key field, and used all over the place)
2) Non alphanumeric character support may cause problems with database character sets, or the html character set
and introduce alot more bugs than I'm prepared to handle at the moment.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
-
- New Member
- Posts: 4
- Joined: Mon Dec 17, 2007 10:34 am
Re: Non-Alphanumeric?
Thanks for the great explanations guys! This makes much more sense now that I think about it.