Skip to content

Commit

Permalink
msBuildWFSLayerGetURL: added WFS 1.1.0 in error message
Browse files Browse the repository at this point in the history
Added version WFS 1.1.0 supported by MapServer as a client (in the error message).
  • Loading branch information
richie21 committed Nov 7, 2021
1 parent ba72696 commit 31debd1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mapwfslayer.c
Expand Up @@ -331,7 +331,9 @@ static char *msBuildWFSLayerGetURL(layerObj *lp, rectObj *bbox,
if (strncmp(pszVersion, "0.0.14", 6) != 0 &&
strncmp(pszVersion, "1.0.0", 5) != 0 &&
strncmp(pszVersion, "1.1", 3) != 0) {
msSetError(MS_WFSCONNERR, "MapServer supports only WFS 1.0.0 or 0.0.14 (please verify the version metadata wfs_version).", "msBuildWFSLayerGetURL()");
msSetError(MS_WFSCONNERR,
"MapServer supports only WFS 1.1.0, 1.0.0 or 0.0.14 (please verify the version metadata wfs_version).",
"msBuildWFSLayerGetURL()");
return NULL;
}

Expand Down

0 comments on commit 31debd1

Please sign in to comment.