Bug with Article titles with quotation marks
This is an open discussion with 5 replies, filed under XSLT.
Search
Looking at the source code, it appears that the input value is not escaped correctly. Luckily there is no loss of data, just need to be careful when re-saving. I'll get a fix out soon.
Line 47
of /lib/toolkit/fields/field.input.php
, just after the function declaration, should be:
$value = General::sanitize($data['value']);
That will correctly encode any value.
Alistair, can you comment on this issue: http://symphony21.com/forum/discussions/636/1/
Unless I'm really misunderstanding something, re-saving an issues does result in data loss in that situation.
Unless I'm really misunderstanding something, re-saving an issues does result in data loss in that situation.
Correct. Re-saving will result in data loss. The data is being truncated when displayed. I will post a fix for the tag list problem shortly.
Thanks Alistair!
Create an account or sign in to comment.
So I just entered an article title with quotes in it and noticed a little bug. Once you save the article, the whole title is not in the input box, just whatever is before the quote.
Attachments