Spring tag library does not encode a URI correctly [SPR-10303] #14937
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: duplicate
A duplicate of another issue
Alexander Hawley opened SPR-10303 and commented
When using the Spring tag lib (
http://www.springframework.org/tags
), thespring:url
tag does not encode a URI correctly. Some reserved characters are not encoded ever, others only sometimes.For example, the slash character
/
should be encoded as%2f
.I've tried every permutation I could think of. Templating, not templating, parameters, et al.
Results as follows.
List of strings which contain reserved characters:
JSP to utilize the Spring tag library:
Result:
Any ideas?
Thanks.
-AH
Affects: 3.1 GA
Issue Links:
The text was updated successfully, but these errors were encountered: