Support for relative URLs #1399
Labels
module:client/core
Core functionality (not a plugin)
plugin:layerswitcher
Functionality and features of the LayerSwitcher plugin
plugin:print
Milestone
Make Hajk fully support relative URL:s as discussed in #1396.
Identified spots in Hajk develop around v3.12 that need attention for implementing this:
protocol
handling currently does not support relative URL:s. If using relative links for WMS URL, e.g. layers.json WMS config"url": "/geoserver/wms"
will result in invalid links being constructed for getting the legend image -https://geoserver/wms?
new URL(src);
call. This will result in an exception, only visible in the console - the printing stops without user notice (spinner continues forever).The text was updated successfully, but these errors were encountered: