Posted by droplet on November 3, 2009 at 3:28am
| Project: | Translation template extractor |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
There isn't addcslashes to .info stings, is it by design ? (Command line extraction)
example:
#: active_n_rebuild/active_n_rebuild.info:0
msgid "[EN] Table-based multi-column extended theme (for Web developers).<br />Work with PHP5 (PHP4 - with no waranty).<br />Copyright © 2009 <a href="http://lynxlab.net" title="Open Lynxlab project (in a new window)" target="_blank">Lynxlab.net</a>"
msgstr ""
Comments
#1
Wow, we definitely did not expect people to put HTML into their descriptions. Looks like this needs to be fixed indeed.
#2
Zen has been doing this for quite a while. :-D
The theme description links to the online documentation.
#3
Ok, I've looked at the existing code, and not at all sure why it uses
<?phpaddcslashes($value, "\0..\37\\\"")
?>
Please test and review so we can fix this issue.
#4
#3 patch works fine and fixed this issue.
#5
Committed to D6, to be ported to D7.
#6
D7 port.
#7
Automatically closed -- issue fixed for 2 weeks with no activity.