Murmur.ini currently provides as defaults for
Natenom suggested - which I second - to make them more permissive.
New and non tech- or computer-savy people may get confused or get hindered to connect to servers when they - for example - try to connect with their fore and surname separated by a space.
Specific characters give problems or may be abused, and should does not be allowed:
< and ´>` which will get interpreted as HTML in parts of the client
special Unicode control characters
* specific unicode characters (above or below general text-line)
I guess staying with a white-list is the more secure and robust solution.
So I’d suggest adding space as an allowed character to username.
Of course, we would not want to allow it as leading or ending whitespace.
Adding that will make the regexp longer and more complicated.
However we could keep the simple regexp as commented out documentation in the ini as we do now.
I’d weight user-fiendlyness higher than a very simple regexp as the default value, that is seen in webinterfaces as the current value.
A basis for discussion as a blacklist:
which denies leading and ending whitespace, as well as whitespace following whitespace.
Documentation on Qt regexps:
Log in to post a comment.