Workaround for usernames with invalid characters

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

mixart
Posts: 95
Joined: 08 Aug 2007, 20:32

Workaround for usernames with invalid characters

Postby mixart » 12 Mar 2008, 05:20

I noticed in another thread that by default the ^ character is filtered in zones for usernames. I have user's with usernames that use that character and when logged into smartfox server it is stripped.

Is there any way I can prevent it from stripping this character or a workaround?
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 14 Mar 2008, 09:05

Yes you can customize the characters that are stripped.
Check the Zone <UserNameAvoidChars> setting
Chapter 2.1 of the docs
Lapo
--
gotoAndPlay()
...addicted to flash games
mixart
Posts: 95
Joined: 08 Aug 2007, 20:32

Postby mixart » 19 Mar 2008, 22:13

It doesn't seem that removes the default characters - only allows you to add your own additional characters to strip or am I mistaken?
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 20 Mar 2008, 07:03

Can you provide an example that is not working for you?
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 115 guests