Closed mrrodriguez closed 4 years ago
Definitely a bug. I'll fix it.
Fixed in 1.4.54. Please close this issue if you've confirmed this fixes things for you. I've added generative testing to make sure encode/decode match up.
@plexus thanks for the fast response! I will test out with the new version and confirm here. Noting the changes are here https://github.com/lambdaisland/uri/commit/5780e3caf04dd062d77d389d5f92428b74135455 (for future reference)
Update: This has been working for me. Thanks for making the changes! I'll close now.
The follow is unexpected behavior:
Notice that
:query
has confusion around the "+" that is used to encode spaces. This is because all of the "decoding" side query param functions do not take into account the "+".Another example:
The "+" character is never decoded.
Is this intentional behavior and the expectation is the consumer is careful to always remove "+" at the "right time"?