{"action":"closed","issue":{"url":"https://api.github.com/repos/boundlessgeo/gsconfig/issues/25","labels_url":"https://api.github.com/repos/boundlessgeo/gsconfig/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/boundlessgeo/gsconfig/issues/25/comments","events_url":"https://api.github.com/repos/boundlessgeo/gsconfig/issues/25/events","html_url":"https://github.com/boundlessgeo/gsconfig/issues/25","id":4908511,"number":25,"title":"error when store name have space.","user":{"login":"gschwind","id":272731,"avatar_url":"https://avatars.githubusercontent.com/u/272731?v=3","gravatar_id":"","url":"https://api.github.com/users/gschwind","html_url":"https://github.com/gschwind","followers_url":"https://api.github.com/users/gschwind/followers","following_url":"https://api.github.com/users/gschwind/following{/other_user}","gists_url":"https://api.github.com/users/gschwind/gists{/gist_id}","starred_url":"https://api.github.com/users/gschwind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gschwind/subscriptions","organizations_url":"https://api.github.com/users/gschwind/orgs","repos_url":"https://api.github.com/users/gschwind/repos","events_url":"https://api.github.com/users/gschwind/events{/privacy}","received_events_url":"https://api.github.com/users/gschwind/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2012-06-05T13:39:01Z","updated_at":"2015-09-11T16:02:09Z","closed_at":"2015-09-11T16:02:09Z","body":"Hello,\n\nwith a store name like \"X YY 2.5\" get_resource fail.\n\nI solved the issue by ulrlib.quote(self.name) which encode space.\n\nit is probably needed to quote all name and workspace name in url.\n\nBest regards,\n\nfollowing is error from my python script:\n\nTraceback (most recent call last):\n  File \"test.py\", line 92, in <module>\n    res = cat.get_resource(f, workspace=workspace)\n  File \"x/geoserver/catalog.py\", line 334, in get_resource\n    resource = self.get_resource(name, store)\n  File \"x/geoserver/catalog.py\", line 324, in get_resource\n    candidates = filter(lambda x: x.name == name, self.get_resources(store))\n  File \"x/geoserver/catalog.py\", line 347, in get_resources\n    return store.get_resources()\n  File \"x/geoserver/store.py\", line 100, in get_resources\n    xml = self.catalog.get_xml(res_url)\n  File \"x/geoserver/catalog.py\", line 122, in get_xml\n    raise FailedRequestError(\"Tried to make a GET request to %s but got a %d status code: \\n%s\" % (url, response.status, content))\ngeoserver.catalog.FailedRequestError: Tried to make a GET request to http://localhost/geoserver/rest/workspaces/sf/coveragestores/X YY 2.5/coverages.xml but got a 404 status code: \nNo such coverage store: sf.X\n\n"}}