XML entities are not escaped #50

Closed
strk opened this Issue Mar 22, 2013 · 3 comments

Comments

Projects
None yet
1 participant
Contributor

strk commented Mar 22, 2013

a CartoCSS with a filter like this:

[f='&']

Results in an XML snippet like this:

    <Filter>([f] = '&')</Filter>

The snippet is bogus in that the ampersend should be escaped.
OR,the whole filter should be embedded in CDATA (to be tested)

@ghost ghost assigned strk Mar 22, 2013

Contributor

strk commented Mar 22, 2013

This works (tested):

    <Filter><![CDATA[([f] = '&')]]></Filter>
Contributor

strk commented Mar 22, 2013

CartoCSS issue: mapbox/carto#263

strk pushed a commit that referenced this issue Mar 22, 2013

Fix use of ampersend characters in CartoCSS (#50)
Required upgrading 'carto' module
Contributor

strk commented Mar 22, 2013

Fixed in release 0.11.2

@strk strk closed this Mar 22, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment