Post Reply 
A MyBB question
Author Message
ZiNgA BuRgA
Smart Alternative

Posts: 17,022.2988
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1274
Offline
Post: #9
RE: A MyBB question
Open up inc/datahandlers/user.php, find:

PHP Code:
if(strpos($username, "<") !== false || strpos($username, ">") !== false || strpos($username, "&") !== false || my_strpos($username, "\\") !== false || strpos($username, ";") !== false || strpos($username, ",") !== false)

replace with

PHP Code:
if(strpos($username, "<") !== false || strpos($username, ">") !== false || strpos($username, "&") !== false || my_strpos($username, "\\") !== false || strpos($username, ";") !== false)


From what I can tell, the double quote character isn't restricted.  Removing the comma restriction should be safe - I think it's only there to prevent a bit of an issue with adding names to the Buddy List (but that's rarely ever used anyway).


Lol, feels like I'm on the MyBB Community forums :P
31/01/2009 06:57 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
A MyBB question - roberth - 31/01/2009, 05:51 AM
RE: A MyBB question - Method - 31/01/2009, 06:06 AM
RE: A MyBB question - roberth - 31/01/2009, 06:07 AM
RE: A MyBB question - Method - 31/01/2009, 06:08 AM
RE: A MyBB question - roberth - 31/01/2009, 06:17 AM
RE: A MyBB question - Method - 31/01/2009, 06:20 AM
RE: A MyBB question - ZiNgA BuRgA - 31/01/2009, 06:25 AM
RE: A MyBB question - roberth - 31/01/2009, 06:46 AM
RE: A MyBB question - ZiNgA BuRgA - 31/01/2009 06:57 AM
RE: A MyBB question - ZiNgA BuRgA - 31/01/2009, 05:27 PM
RE: A MyBB question - roberth - 03/02/2009, 04:34 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

 Quick Theme: