|
|
Joined: Jun 2006
Posts: 136
member
|
member
Joined: Jun 2006
Posts: 136 |
in the language editor, every time changes are saved any escaped characters have a backslash added. for example:
Hello,
A new user has registered at {$config['COMMUNITY_TITLE']}. Here are the details of the user's profile:\\\\\\\\n\\\\\\\\n
Email Address: %s \\\\\\\\n
Display Name: %s \\\\\\\\n
IP Address: %s \\\\\\\\n\\\\\\\\n
To view the entire profile or approve this account, please visit
Last edited by Rick; 10/23/2006 3:08 PM.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
lol, very interesting... Lately I noticed the same thing on one of my scripts i made years ago; just found it semi ironic
|
|
|
|
Joined: Jun 2006
Posts: 136
member
|
member
Joined: Jun 2006
Posts: 136 |
and in fact the escaped chars aren't even necessary in this context: i replaced them all with ordinary carriage returns, and thereby fix the problem. there's probably more though, lurking somewhere in the bowels of the program.
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
This is related to PHP's horribly awful various magicquotes settings that can be on or off. We catch most of them because we grab 90% of the variables through our own get_input function, but sometimes we reference $_GET or $_POST directly where these tend to pop up. I'll make sure we stripslashes where necessary for 7.0.1. Thanks for the report.
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
|
|
|