Skip to content
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

URL parameter handling inconsistent with/without proxy #32

Open
letmaik opened this issue Oct 18, 2015 · 1 comment
Open

URL parameter handling inconsistent with/without proxy #32

letmaik opened this issue Oct 18, 2015 · 1 comment

Comments

@letmaik
Copy link

letmaik commented Oct 18, 2015

WIth proxy, a WMS URL like
http://services.nationalmap.gov/arcgis/services/nhd/MapServer/WMSServer?request=GetCapabilities&service=WMS
is transformed to
http://services.nationalmap.gov/arcgis/services/nhd/MapServer/WMSServer
before adding the parameters again.

But, when not using the proxy this stripping doesn't happen, so the result is something like:
http://services.nationalmap.gov/arcgis/services/nhd/MapServer/WMSServer?request=GetCapabilities&service=WMS&REQUEST=GetCapabilities&SERVICE=WMS

The only work-around currently is to define the resource url without parameters: http://services.nationalmap.gov/arcgis/services/nhd/MapServer/WMSServer
Otherwise some servers just fail with something like "cannot parse request".

Both scenarios, with and without proxy should behave identically.

@mattfullerton
Copy link

See also #23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants