By default, GeoServer comes preconfigured with some example workspaces, datastores and layers. One of these workspaces is called it.geosolutions.
If I try to delete this workspace via cUrl and the REST API:
curl -v -u admin:geoserver -XDELETE http://localhost:8080/geoserver/rest/workspaces/it.geosolutions?recurse=true, then cUrl returns
HTTP/1.1 404 Not FoundHowever, if I run the same command on a workspace that does not contain special characters, such as the pre-configured cite workspace:
curl -v -u admin:geoserver -XDELETE http://localhost:8080/geoserver/rest/workspaces/cite?recurse=true, then cUrl returns
HTTP/1.1 200 OKHence, I guess that the problem in the former case is due to the . in the workspace's name. How can I properly escape such special characters in the URL?
أكثر...
If I try to delete this workspace via cUrl and the REST API:
curl -v -u admin:geoserver -XDELETE http://localhost:8080/geoserver/rest/workspaces/it.geosolutions?recurse=true, then cUrl returns
HTTP/1.1 404 Not FoundHowever, if I run the same command on a workspace that does not contain special characters, such as the pre-configured cite workspace:
curl -v -u admin:geoserver -XDELETE http://localhost:8080/geoserver/rest/workspaces/cite?recurse=true, then cUrl returns
HTTP/1.1 200 OKHence, I guess that the problem in the former case is due to the . in the workspace's name. How can I properly escape such special characters in the URL?
أكثر...