-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sanitize URL for services #242
Comments
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! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: