Skip to content

HierarchicalUriComponents.encodeUriComponent() method can not encode Pchar [SPR-17621] #22153

Closed
@spring-projects-issues

Description

@spring-projects-issues

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 [[email protected]|mailto:[email protected]] . 


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:

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: declinedA suggestion or change that we don't feel we should currently apply

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions