Skip to content

Parse multiple Sec-WebSocket-Protocol header values - #37291

Open
zemiles wants to merge 1 commit into
spring-projects:mainfrom
zemiles:main
Open

zemiles wants to merge 1 commit into
spring-projects:mainfrom
zemiles:main

Conversation

@zemiles

@zemiles zemiles commented Sep 18, 2026

Copy link
Copy Markdown

Fixes #37282.

getSecWebSocketProtocol() now parses comma-separated values from every
Sec-WebSocket-Protocol header entry.

Tests: ./gradlew :spring-websocket:test --tests org.springframework.web.socket.handler.WebSocketHttpHeadersTests

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Sep 18, 2026
Signed-off-by: 안승현 <abeb3@naver.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged or decided on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

simplify/robustify WebSocketHttpHeaders.java getSecWebSocketProtocol() ?

2 participants