externalGraphic with relative path and query parameters problem

Description

I don't know, if this should be here or in GeoTools Issues.

I implemented a ExternalGraphicFactory which is working. (getIcon gets called). So I wanted to provide some additional parameters using the URL of my online resource.

Here are the tests I did.

myimage.png -> worked

myimage.png?param=testparam --> stripped parameter I got URL myimage.png

<absolute-path>/myimage.png?param=testparam --> worked

and this is my hack at the moment for relative paths:

myimage.png&param=testparam --> work (path and parameter separated by a &amp

Here is the snipped of my external graphics:

<ExternalGraphic>
<OnlineResource xlink:href="myimage.png" />
<Format>myformat</Format>
</ExternalGraphic>

The logging does say:
18 Nov 09:43:46 DEBUG

Here the parameter is still there but in my factory class the param - part is not there.

However, this is not a problem with GeoServer 2.3, 2.5.

Environment

None

Status

Assignee

Unassigned

Reporter

codehaus

Triage

None

Fix versions

Affects versions

2.6.1

Priority

Medium
Configure