Search

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

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.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details