NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1
|Anonymous | Login | Signup for a new account||23-03-17 06:19 UTC|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0015534||phplist application||Message Send Process||public||24-08-10 22:34||22-05-12 15:14|
|Target Version||4.0.x||Fixed in Version||2.11.7|
|Summary||0015534: Newlines in footer converted to "rn" in text input box when saving a new message|
|Description||When a new message draft is saved, newlines are converted to "rn". Presumably there is a bug somewhere with escaping.|
|Steps To Reproduce||1. From the admin page, start a new campaign. Message footer should appear correctly in text input box. |
2. "Save Changes."
3. Footer in text box now appears all on one line, with newlines replaced with "rn".
|Tags||No tags attached.|
|It may be relevant that in my PHP environment, magic_quotes_gpc = false.|
Yes, it's a problem resulting from having magic quotes off. Leaving them off, I tried commenting out the sql_escape() line in admin/lib.php (line 62), and the message footer saved correctly.
Not sure what the best course of action is here for a permanent solution.
Further to my last note, I *think* the sql_escape() line in setMessageData() in admin/lib.php (line 62) can be safely removed, because the data it escapes is escaped again when it is used later in the function by Sql_Replace() (line 90).
Removing sql_escape() at line 62 also renders the patch I provided for issue #0015522 (http://mantis.phplist.com/view.php?id=15522 [^]) unnecessary.
|Copyright © 2000 - 2017 MantisBT Team|