From: Hungerburg <pc...@my...> - 2014-01-22 11:36:01
|
Dear Wolfgang, please refer to https://github.com/eXist-db/exist/issues/44 for the context, especially the last comment there, where I took a look at the behaviour of the /rest/ servlet and found it to behave very much in line with the specifications except for the handling of the "+" sign within paths in GET operations. Probably it is a simple as dropping the call to URLDecoder from path-parsing in GET handling. See the pull request. https://github.com/eXist-db/exist/pull/127 Below some logging > LOG.warn("Pfad: " + path + " >> " + pathUri); > > before: > 2014-01-22 11:55:58,043 [eXistThread-35] WARN (RESTServer.java [doGet]:392) - Pfad: /db/testing/A%252BA.svg >> /db/testing/A%2BA.svg > 2014-01-22 11:56:54,174 [eXistThread-36] WARN (RESTServer.java [doGet]:392) - Pfad: /db/testing/A%2BA.svg >> /db/testing/A+A.svg > 2014-01-22 11:57:22,174 [eXistThread-36] WARN (RESTServer.java [doGet]:392) - Pfad: /db/testing/W+W.svg >> /db/testing/W%20W.svg > > after: > 2014-01-22 11:59:29,566 [eXistThread-37] WARN (RESTServer.java [doGet]:393) - Pfad: /db/testing/A%252BA.svg >> /db/testing/A%252BA.svg > 2014-01-22 11:59:53,826 [eXistThread-35] WARN (RESTServer.java [doGet]:393) - Pfad: /db/testing/A%2BA.svg >> /db/testing/A%2BA.svg > 2014-01-22 12:00:46,910 [eXistThread-36] WARN (RESTServer.java [doGet]:393) - Pfad: /db/testing/W+W.svg >> /db/testing/W+W.svg Thank You -- Peter |