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
{{ message }}
Repository navigation
Global Identify configuration with HTML format throws an error with WFS layer #12752
The support for HTML format in WFS was included in this PR #10234 for GeoServer backend that included wfs-freemarker-plugin community module in the deploy. When HTML format is selected in the global identify the WFS layers throw an error when the html format is not supported.
A layer may include the infoFormats property so we could use this information to prevent unsupported requests. Note that infoFormats isn't persisted in the configuration by design so we may need an additional WFS getSupportedFormat (api/WFS) cached by url when we trigger the map info (getSupportedFormat should already cache the request internally, needs a double check). Also when possible we should make the url request to the specific layers path using getCapabilitiesUrl inside utils/LayersUtils.js
How to reproduce
open a new map
add a WFS layer coming from a GeoServer without the wfs-freemarker-plugin
in the global settings change the info format to HTML
We need to check the format validity before making the identify request, probably it's enough to make the check only when the format is text/html
Security vulnerabilities
Do not report security vulnerabilities in public issues.
If you believe you have found a vulnerability in MapStore, please use GitHub private vulnerability reporting or contact the security address listed in SECURITY.md.
Activity
#12752 Global Identify configuration with HTML format throws an error…
allyoucanmap commentedon Aug 4, 2026
@ElenaGallo please test this fix on dev, thanks
#12752 Global Identify configuration with HTML format throws an error…