Open capooti opened 7 years ago
As discussed this will be fixed in OWSLib.
FYI this is been implemented in OWSLib (master branch), so that OWSLib classes will take care of cleaning the URL when invoked/initiated.
great! When are you planning a release?
Next couple of weeks. Feel free to remind if things drag on past that.
Excellent. @lordofhogwarts when @tomkralidis make the release could you bump it to requirements.txt?
Thanks Tom!
There are many cases where url for endpoints should be sanitized.
For example this url for a WMS: http://tepeserwery.pl/tileservice/wms.php/icrsptixwh?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities
should be sanitized to: http://tepeserwery.pl/tileservice/wms.php/icrsptixwh?
Otherwise MapProxy will not work properly as there will be both a GetCapabilities and a GetMap in the request.
There are complex case to keep in account such as: http://host/mywms?map=foo.map