Skip to content
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

Avoid unescape when CONNECT and CONNECTED frames #27722

Closed

Conversation

rygh4775
Copy link

@rygh4775 rygh4775 commented Nov 24, 2021

I faced an error that stomp websocket client can not send a header with backslash.
Then I found reason.

StopmEncoder dose not escape headers when CONNECT and CONNECTED frames, to follow the spec below:
https://stomp.github.io/stomp-specification-1.2.html#Value_Encoding
However, StompDecoder try to unescape when CONNECT and CONNECTED frames.

StopmDecoder should not unescape when CONNECT and CONNECTED frames, because the frames are not escaped.

@pivotal-cla
Copy link

@rygh4775 Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Nov 24, 2021
@pivotal-cla
Copy link

@rygh4775 Thank you for signing the Contributor License Agreement!

@rstoyanchev rstoyanchev self-assigned this Nov 24, 2021
@rstoyanchev rstoyanchev added in: messaging Issues in messaging modules (jms, messaging) type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Nov 24, 2021
@rstoyanchev rstoyanchev added this to the 6.0 M1 milestone Nov 24, 2021
rstoyanchev pushed a commit that referenced this pull request Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: messaging Issues in messaging modules (jms, messaging) type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants