Skip to content

Trim last allowed origin when parsing comma-delimited string #33181

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

underbell
Copy link

Issue
checkOriginAllowed test pass comma-delimited origins list but comma-delimited origins list with space cannot

Resolution
comma-delimited origins last element need to trim

Verified

This commit was signed with the committer’s verified signature.
colemickens Cole Mickens
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Jul 10, 2024
@rstoyanchev rstoyanchev self-assigned this Jul 15, 2024
@rstoyanchev rstoyanchev added in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Jul 15, 2024
@rstoyanchev rstoyanchev added this to the 6.2.0-M6 milestone Jul 15, 2024
@rstoyanchev rstoyanchev changed the title Add trim for comma-delimited origins list with space Trim origins from parsed comma-delimited allowed origins configuration Jul 15, 2024
@rstoyanchev rstoyanchev changed the title Trim origins from parsed comma-delimited allowed origins configuration Trim last allowed origin when parsing comma-delimited string Jul 15, 2024
@rstoyanchev rstoyanchev added type: bug A general bug and removed type: enhancement A general enhancement labels Jul 15, 2024
@rstoyanchev rstoyanchev modified the milestones: 6.2.0-M6, 6.1.12 Jul 15, 2024
rstoyanchev pushed a commit that referenced this pull request Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants