Skip to content

DefaultServerEndpointConfigurator.modifyHandshake ? and # stripping fix#403

Merged
mondain merged 1 commit intoRed5:mainfrom
kdkd:cherry-pick-82ee27b-20251126-125323
Nov 26, 2025
Merged

DefaultServerEndpointConfigurator.modifyHandshake ? and # stripping fix#403
mondain merged 1 commit intoRed5:mainfrom
kdkd:cherry-pick-82ee27b-20251126-125323

Conversation

@kdkd
Copy link
Copy Markdown

@kdkd kdkd commented Nov 26, 2025

Commit from kdkd fork 82ee27b

websocket/server/DefaultServerEndpointConfigurator.java: It tried to trim the URI down to the base application and room, with the format /app/room and chop off any ?query or #anchor tags. Instead it was converting "/app/room?q=a" to "/app" instead of "/app/room".


…trim

the URI down to the base application and room, with the format /app/room and
chop off any ?query or #anchor tags.  Instead it was converting
"/app/room?q=a" to "/app" instead of "/app/room".
@kdkd
Copy link
Copy Markdown
Author

kdkd commented Nov 26, 2025

This will definitely change the return value of this function for many use cases, I don't know if this is a breaking change or not

@mondain mondain merged commit 85bccb7 into Red5:main Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants