XF 1.5 Spaces in username seem to matter

adaaaam

New member
When I tried to login to my forum today using 'mturkerbot', I was shocked that XF said the user didn't exist, until I tried successfully using 'MTurker Bot'

I don't think vB behaves this way, is there a way to fix it?
 

Brogan

XenForo moderator
Staff member
Why would it need to be 'fixed'?

They are two different user names/accounts - a space is a legitimate character.

Are you proposing that all of the following user names be considered the same account?
ABC
A BC
AB C
A B C
 

adaaaam

New member
Yes, much like how a user named Tommy Lee on YouTube or Twitter can login by just typing tommylee without having to think about capitalization or spacing (I'm just mortified by the thought of churn occurring because one of my users neglected to use his spacebar or shift key when logging in)
 

Amaury

Well-known member
Whether you capitalize something or not, it's still the same thing; spacing, on the other hand, completely changes the "meaning," so to speak. Even on sites like YouTube and Twitter, Username and User Name would be two totally different accounts. Those sites behave no differently than XenForo or any other forum software in that regard.
 

adaaaam

New member
Whether you capitalize something or not, it's still the same thing; spacing, on the other hand, completely changes the "meaning," so to speak. Even on sites like YouTube and Twitter, Username and User Name would be two totally different accounts. Those sites behave no differently than XenForo or any other forum software in that regard.
No those sites use underscores not spaces so if a user naturally signs up with spaces it removes them, and when they login with or without spaces it works!

It took me a moment to figure out why XenForo was telling me I didn't exist, I just absolutely do not want to give any visitor that moment to consider quitting my site
 
This is as intended, if this were "fixed" a lot of us forum owners and our communities would be very hacked off indeed.

I've personally never seen a site not consider a space a separate character, it is as it should be...
 

Mark.B

Well-known member
And just to clarify, vBulletin works exactly the same way...a space is considered a valid character and is part of the username.
 
Top