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#120: Data source parameter output: commas not escaped

I have a data source that returns course names as parameter output. It’s working just fine, expect for those course names containing a comma, because commas are used as parameter delimiter:

$ds-teilnehmen-kurse: 'Stricken geht los 1: Anschlag, Rand- und rechte Maschen, Stricken geht los 2: Linke Maschen und Musterkombinationen, Stricken geht los 3: Abketten und was nun?'

The parameter `$ds-teilnehmen-kurse represents three courses:

  • Stricken geht los 1: Anschlag, Rand- und rechte Maschen
  • Stricken geht los 2: Linke Maschen und Musterkombinationen
  • Stricken geht los 3: Abketten und was nun?

But apparently it’s interpreted as four separate items:

  • Stricken geht los 1: Anschlag
  • Rand- und rechte Maschen
  • Stricken geht los 2: Linke Maschen und Musterkombinationen
  • Stricken geht los 3: Abketten und was nun?

All commas need to be escaped in parameter output.

Does anybody know a solution for this?

Okay, I think I’ve fixed it. Have a look at this commit. Let me know if that doesn’t do the trick.

For future reference, this is the forum discussion: http://getsymphony.com/community/discussions/27942/

Confirmed fix working.

This issue is closed.

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