HierarchicalUriComponents.encodeUriComponent() method can not encode Pchar [SPR-17621] #22153
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: declined
A suggestion or change that we don't feel we should currently apply
sunbufu opened SPR-17621 and commented
Hi guy,
I have a question about HierarchicalUriComponents.encodeUriComponent() method. I think it should encode all special char in url query param, Actually, It can not encode many special char. For example + - ! $ ... in url query param. and my email is [sunyoubufu@qq.com|mailto:sunyoubufu@qq.com] .
Affects: 5.0.6
Reference URL: https://github.com/spring-projects/spring-framework/blob/5.0.x/spring-web/src/main/java/org/springframework/web/util/HierarchicalUriComponents.java
Attachments:
The text was updated successfully, but these errors were encountered: