Welcome to Geeklog, Anonymous Friday, October 04 2024 @ 10:58 pm EDT
Geeklog Forums
Apostrophe With User Name
Status: offline
ofey
Forum User
Full Member
Registered: 03/18/05
Posts: 213
Location:Dublin, Ireland
On a similar issue to Warren's post about spaces in user names, when my users sign up they can't use an apostrophe. So the names O'Brien or O'Connell have to be written as OBrien and OConnell. (This is an Irish website, so names beginning O'* are common.)
If someone does put in O'Brien it goes in to the profile as just O.
Any ideas?
Shane
Those who say it can't be done, are usually interrupted by others doing it.
If someone does put in O'Brien it goes in to the profile as just O.
Any ideas?
Shane
Those who say it can't be done, are usually interrupted by others doing it.
6
10
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The removal of single quotes is on purpose, to avoid SQL injections. But I guess we should be more verbose about it in this particular instance (i.e. warn the user that their username has been changed) ...
bye, Dirk
bye, Dirk
8
3
Quote
All times are EDT. The time is now 10:58 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content