REST Config Plugin does not unescape URL
----------------------------------------
Key: GEOS-4140
URL: http://jira.codehaus.org/browse/GEOS-4140
Project: GeoServer
Issue Type: Bug
Components: REST
Affects Versions: 2.1-beta1, 2.0.2
Environment: WinXP Firefox&Chrome
Reporter: Aaron D. Mihalik
Assignee: Andrea Aime
Attachments: rest.txt
The REST Configuration Plugin does not unescape values in the URL. For instance, if I have a feature at:
user-workspace,spaceInFeatureName.zip,Feature with Space
The URL will escape the spaces in the name with "%20"s, and the URL will be:
When I try this link, the REST Plugin thinks that the feature name is actually "Feature%20with%20Space" and will not find the feature. If the REST Plugin correctly unescaped the URL, it would search for "Feature with Space" and find the feature.
This issue is in both 2.0.2 and the 2.1-beta1 releases of geoserver and the rest plugin.
Stack trace from the 2.1-beta1 release attached.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira