0 users online. Create an account or sign in to join them.Users

Announcement

Symphony's issue tracker has been moved to Github.

Issues are displayed here for reference only and cannot be created or edited.

Browse

Closed#393: Adding of backslashes when editing Static XML Data Source

When saving something in a static XML datasource, Symphony is a little over-zealous with adding backslashes. When I save this:

<menu-title>This isn't fair</menu-title>

I get this:

<menu-title>This isn\'t fair</menu-title>

When I click save again (without changing anything) I get this:

<menu-title>This isn\\'t fair</menu-title>

and then:

<menu-title>This isn\\\'t fair</menu-title>

and so on.

Thanks for the report. Looks as though the slashes are not getting removed when displaying in the form, resulting in additional slashes. A simple stripslashes() will do the trick.

This issue is closed.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.2 or above
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.0 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details