Gossamer Forum
Home : Products : DBMan SQL : Development, Plugins and Globals :

Re: [olivers] Regexps for system fields in the user table

Quote Reply
Re: [olivers] Regexps for system fields in the user table In reply to
Quote:
I wonder if there is a special reason for this...
I don't know if there is a special reason for this. I could check the app code, but this would need several hours.

Quote:
Maybe, there are some places in the DBMan SQL code where user system fields are being checked (e.g. Username, Password)?
Yes, there are, for sure.
This would also need code check to say a sure opinion.


Quote:
allows no "number only usernames" (\D+) and requires a minimum of 8 chars and a maximum of 12 chars {8,12}. What special signs would you exclude in addition?

/[A-Za-z][A-Za-z_0-9]{7,11}/

This regexp forces to start with a letter character, following with 7-11 letter, number or underscore character.
I would allow these and nothing else as username.

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Subject Author Views Date
Thread Regexps for system fields in the user table olivers 11765 Sep 12, 2005, 4:47 AM
Thread Re: [olivers] Regexps for system fields in the user table
olivers 11117 Feb 15, 2006, 11:59 AM
Thread Re: [olivers] Regexps for system fields in the user table
webmaster33 11120 Feb 18, 2006, 5:13 AM
Thread Re: [webmaster33] Regexps for system fields in the user table
olivers 11096 Feb 19, 2006, 9:56 AM
Thread Re: [olivers] Regexps for system fields in the user table
webmaster33 11097 Feb 19, 2006, 11:35 AM
Thread Re: [webmaster33] Regexps for system fields in the user table
olivers 11090 Feb 19, 2006, 12:23 PM
Post Re: [olivers] Regexps for system fields in the user table
webmaster33 11089 Feb 19, 2006, 1:25 PM