Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Slashes are not stripped from password comments

 
Reply to topic    Forum Index » Bugs and errors View previous topic
View next topic
Slashes are not stripped from password comments
Author Message
Thrik



Joined: 26 Oct 2005
Posts: 50

Post Slashes are not stripped from password comments Reply with quote
It seems that when the user types in the password to prove that they are the owner of a protected nick, slashes appear in the comment before apostrophes. If the user is never asked for a password, no slashes appear.



Any chance of a quick-fix before it is properly patched? Smile <3
Wed Jan 18, 2006 7:29 pm View user's profile Send private message
Guest








Please login to hide the ads.

FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2801
Location: Germany

Post Reply with quote
Open inc/show.addcomment.php and change this:

Code:
         $comments = str_replace(array('"', '\''), array('&quot;', '''), $comments);




to this:

Code:
         $comments = str_replace(array('"', '\\\''), array('&quot;', '''), $comments);

Wed Jan 18, 2006 8:45 pm View user's profile Send private message
Thrik



Joined: 26 Oct 2005
Posts: 50

Post Reply with quote
Wonderful! Thankyou very much.
Wed Jan 18, 2006 9:08 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    Forum Index » Bugs and errors All times are GMT + 1 Hour
Page 1 of 1

 
Jump to: 
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
You cannot attach files in this forum
You can download files in this forum



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.