You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When a path to proxy is provided as a relative path, the proxy incorrectly throws away part of the original address resulting in an invalid URL.
To Reproduce
...
Expected behavior
The URL gets only encoded, no parts are dropped.
Screenshots
Additional context
observable on hub4everybody.com and watlas.lesprojekt.cz
The text was updated successfully, but these errors were encountered:
only happens with hslayers-server on hub4everybody, watlas
not replicable on localhost
not replicable with a different type of proxy server
only happens when the URL is a WMS service from ArcGIS server
not replicable on non-ArcGIS WMS servers
the URL returned in GetCapabilities document is changed to the hostname of requesting server (h4e, watlas, ...), i.e. <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="https://watlas.lesprojekt.cz/arcgis2/services/dmr4g/ImageServer/WMSServer"/>
x-forwarded-for , x-forwarded-host and x-forwarded-server HTTP headers are added to the request when sent
sec-fetch-site HTTP header is cross-site on localhost but same-origin on the public server
Bug
Describe the bug
When a path to proxy is provided as a relative path, the proxy incorrectly throws away part of the original address resulting in an invalid URL.
To Reproduce
...
Expected behavior
The URL gets only encoded, no parts are dropped.
Screenshots
Additional context
observable on hub4everybody.com and watlas.lesprojekt.cz
The text was updated successfully, but these errors were encountered: