Details
-
Improvement
-
Resolution: Fixed
-
Major
-
5.1
-
None
Description
Right now, we don't have any tool to sanitize some query string that would be put inserted into an url. As this is needed in many places, we could add the following method to escapetool:
String url(Map<String, ?>)
that would create a safe and correctly escaped query String from a map of parameters.
See the discussion on https://github.com/xwiki/xwiki-platform/pull/134 for more details.
Attachments
Issue Links
- blocks
-
XWIKI-9360 URI Based Reflected XSS on XWIKI 4.5.2
- Closed
- is duplicated by
-
XCOMMONS-1419 Provide a method to build query strings in Velocity
- Closed