 |
 |
 |
 |
 |
| Author |
Message |
Thrik
Joined: 26 Oct 2005 Posts: 50
|
|
Slashes are not stripped from password comments |
|
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? <3
|
|
| Wed Jan 18, 2006 7:29 pm |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2801 Location: Germany |
|
|
|
Open inc/show.addcomment.php and change this:
 |  | $comments = str_replace(array('"', '\''), array('"', '''), $comments); |
to this:
 |  | $comments = str_replace(array('"', '\\\''), array('"', '''), $comments); |
|
|
| Wed Jan 18, 2006 8:45 pm |
|
 |
Thrik
Joined: 26 Oct 2005 Posts: 50
|
|
|
|
Wonderful! Thankyou very much. 
|
|
| Wed Jan 18, 2006 9:08 pm |
|
 |
|
|
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
|
|
 |
 |
 |
|