issue #118: Fix File URL in rest upload

This commit is contained in:
Daniele Romagnoli 2013-11-29 12:42:29 +01:00
parent 6a4849ff97
commit b5bf46a189

View File

@ -184,7 +184,7 @@ public class GeoServerRESTStructuredGridCoverageReaderManager extends GeoServerR
coverageStore, "/", UploadMethod.EXTERNAL.toString(), ".", format).toString();
// POST request
String result = HTTPUtils.post(sUrl, "file:/" + path, "text/plain", gsuser, gspass);
String result = HTTPUtils.post(sUrl, "file://" + path, "text/plain", gsuser, gspass);
return result != null;
}