can't find files with spaces in name or path

Description

The server fails when trying to access a file which has a space in its name or path. This occurs with both shapefiles and SLD files.

Environment

None

Activity

Show:
codehaus
April 10, 2015, 2:48 PM

CodeHaus Comment From: jmacgill - Time: Mon, 19 Jan 2004 16:20:08 -0600
---------------------
The spaces in the path problem was caused by code which created a file from a URL.

The URL would contain %20 to represent spaces and File objects construced from such strings (at least on windows) would fail.

The code now uses code similar to:

String location = URLDecoder(url, "UTF-8"

File file = new File(location);

Assignee

Unassigned

Reporter

codehaus

Triage

None

Fix versions

Priority

Medium
Configure