Skip to content

Ban call of URLEncoder.encode/URLDecoder.decode(String,String) #38740

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

quaff
Copy link
Contributor

@quaff quaff commented Dec 12, 2023

Use URLEncoder.encode/URLDecoder.decode(String,Charset) instead

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Dec 12, 2023
Use URLEncoder.encode/URLDecoder.decode(String,Charset) instead
@philwebb philwebb added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged labels Dec 20, 2023
@philwebb philwebb added this to the 3.1.7 milestone Dec 20, 2023
philwebb pushed a commit that referenced this pull request Dec 20, 2023
Add ArchUnit rules to ban the use of `URLEncoder` calls with String
charsets and use `Charset` calls instead.

See gh-38740
@philwebb philwebb closed this in 94df3c9 Dec 20, 2023
@philwebb
Copy link
Member

Nice one! Thanks @quaff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants