script for solving ticket http://hackers.devnet.ro/ticket/269
Review Request #56 - Created Jan. 19, 2009 and updated - Latest diff uploaded
Information | |
---|---|
Savin Tiberiu | |
infoarena | |
Reviewers | |
hackers | |
/script/db_username_validate.php validates fields usernames from ia_user and membername from ia_smf_members. Invalid characters are determined according to IA_RE_USER_NAME and are replaced with '_'. It gives a warning when running "Warning: finfo_open missing, falling back to mime_content_type" about which I have absolutely no idea.
I added in both tabels many users with names containing invalid characters ([]$* etc) and after running the script those characters were replaced by '_'.