-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent
RequestNotWellFormed
error for invalid characters in BBOX r…
…equests (ref: layer names with spaces, colons or slashes) (#566) * 🐛 Use regex that substitute only blanck space with underscore * 🐛 Use regex that substitute only blanck space with underscore and replace / with no space * 🐛 Fix filter SELECTED layers. Fix bug on query bypolygon. It returned features of selected layer. Wrong * In case of wfs request, need to take in account replace of / and : on layer Name * make use of `has(filter.SELECTED)` * inline replacer * variable name * wrong param * micro perf opts * variable name * Remove layerName. Not translate. useless * Take in account drawpolygon query type * Update src/app/core/layers/imagelayer.js replace all : with - using replaceAll string method Co-authored-by: Raruto <Raruto@users.noreply.github.com> * Remove plus regex. * Sanitize also / slash * remove console.log --------- Co-authored-by: Raruto <Raruto@users.noreply.github.com>
- Loading branch information
1 parent
56ba2d2
commit 7126f24
Showing
6 changed files
with
35 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters