[Geoserver-devel] [jira] (GEOS-6870) Malformed Path to Resource on Windows

Olle Markljung created an issue

GeoServer / BugGEOS-6870

Malformed Path to Resource on Windows

Issue Type:

BugBug

Assignee:

Andrea Aime

Created:

03/Feb/15 4:58 PM

Fix Versions:

2.7-RC1

Priority:

MajorMajor

Reporter:

Olle Markljung

When running on Windows paths to resources are constructed that contains a mix of slashes and backslashes.
Using such path will render an exception due to the fact that the Paths.VALID regex does not allow for backslashes to appear for paths to resources.

I suggest that code is added that ensures only slashes are used in paths to resources when converted for a url in GeoServerDataDirectory.urlToResource.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

Atlassian logo