You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
PathPattern calls QueryStringDecoder.decodeComponent, which replaces '+' to ' '.
This behavior is expected in query strings, but not in path strings.
(FYI, QueryStringDecoder.decodeComponent has an overloaded version that allows setting isPath=true, but this is a private method.)
To Reproduce
I'm not familiar with finatra, so I don't know what exactly this bug affects, but it seems incoming path decoding would not be working properly.
Expected behavior
"as+df" should be decoded to "as+df", not "as df".
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
For web, specify your OS and browser version. For mobile, specify device, OS
and version. For libraries, what version of build tools are you using?
Additional context
I ran into this code digging into a similar tapir bug: softwaremill/tapir#3384
The text was updated successfully, but these errors were encountered:
Describe the bug
PathPattern calls QueryStringDecoder.decodeComponent, which replaces '+' to ' '.
This behavior is expected in query strings, but not in path strings.
(FYI, QueryStringDecoder.decodeComponent has an overloaded version that allows setting isPath=true, but this is a private method.)
To Reproduce
I'm not familiar with finatra, so I don't know what exactly this bug affects, but it seems incoming path decoding would not be working properly.
Expected behavior
"as+df" should be decoded to "as+df", not "as df".
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
For web, specify your OS and browser version. For mobile, specify device, OS
and version. For libraries, what version of build tools are you using?
Additional context
I ran into this code digging into a similar tapir bug: softwaremill/tapir#3384
The text was updated successfully, but these errors were encountered: