Hello, Normaly i search this website before i ask a question. But the search didn` t work i got some errors.
So here is my question. I have upgraded my forum to Nuke7.6 patch 3.1 and some users can`t log in anymore. Becauce in version7.6 patch 3.1 space between an username is not allowed any more. So i would like to change this.
This is copied from the index.php from the your_account modulle.
Does this work for other symbols as well? Just adding them to the list inside the brackets?
For example, I'd like to add usernames with the following symbols: =, $, @, ń, Ń, >, <, |, (, ), ., : etc.
If possible, does this suppose a security risk?
DirtyRat Nuke Cadet
Joined: May 05, 2007
Posts: 3
Posted:
Sun May 06, 2007 7:09 am
This last question never got answered and it's a couple of months old, but it looks like a similar problem that I've been having. As an additional part of the above question, how do you add [ and ] characters to the above list since they are operators for the code?
Evaders99 Site Admin
Joined: Aug 17, 2003
Posts: 12388
Posted:
Sun May 06, 2007 3:33 pm
Generally that should work for all characters, except those that are special for regular expressions. To escape those characters, you need to use a slash
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum