[Geoserver-devel] [JIRA] (GEOS-7643) Dynamic Symbolizers not URL encoded

Billy Newman created an issue

GeoServer / BugGEOS-7643

Dynamic Symbolizers not URL encoded

Issue Type:

BugBug

Affects Versions:

2.9.0

Assignee:

Unassigned

Components:

WMS

Created:

18/Jul/16 8:14 PM

Environment:

Java JDK: OpenJDK Runtime Environment (build 1.8.0_91-b14)
OS: Amazon Linux

Priority:

MediumMedium

Reporter:

Billy Newman

When pulling values using a CQL Expression the value is not URL encoded.

Using this as a reference:
http://docs.geoserver.org/latest/en/user/styling/sld-extensions/pointsymbols.html#dynamic-symbolizers.

Example:

<ExternalGraphic>
<OnlineResource xlink:type=“simple”
xlink:href="http://mysite.com/tn_$

{STATE_ABBR}

.jpg"/>
<Format>image/jpeg</Format>
</ExternalGraphic>

If the property value has a space in it, ie ‘Some Value’ the resulting url is: ‘http://mysite.com/tn_Some Value.jpg’.

Expecting result to be ‘http://mysite.com/tn_Some%20Value.jpg

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.148.3#100005-sha1:53b5f3f)

Atlassian logo