Closed lfmunoz closed 2 years ago
From the STOMP specification https://stomp.github.io/stomp-specification-1.2.html#Frames_and_Headers
The password seems valid.
Never mind this is working as intended. Standard says:
Undefined escape sequences such as \t (octet 92 and 116) MUST be treated as a fatal protocol error. Conversely when encoding frame headers, the reverse transformation MUST be applied.
I have a password with:
3q7y0hARS6"E6V4Pt\78w866'2s:3G_`.
I guess something wrong with:
https://github.com/vert-x3/vertx-stomp/blob/60e2a5b2eaf4d966f9bbdf49d94bb35585e3c8c4/src/main/java/io/vertx/ext/stomp/impl/HeaderCodec.java
If working as intended please document what is allowed and isn't allowed. I don't control what the client sets their password to.
@cescoffier is it obvious to you what the fix would be? Willing to do pull request with some guidance.