Non-Alphanumeric?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
rynoceris84
New Member
New Member
Posts: 4
Joined: Mon Dec 17, 2007 10:34 am

Non-Alphanumeric?

Post by rynoceris84 »

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
Pierre M.

Re: Non-Alphanumeric?

Post by Pierre M. »

Hello Ryan,
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?
What about asking eBay, Google, Yahoo, MySpace, DailyMotion and all other internet Majors what are their reasons not to do that ?

Pierre M.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Non-Alphanumeric?

Post by calguy1000 »

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.
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.
rynoceris84
New Member
New Member
Posts: 4
Joined: Mon Dec 17, 2007 10:34 am

Re: Non-Alphanumeric?

Post by rynoceris84 »

Thanks for the great explanations guys!  This makes much more sense now that I think about it.
Post Reply

Return to “CMSMS Core”