Skip to content

Commit

Permalink
fix(http): encode + signs in query params as %2B (#11058) (#45111)
Browse files Browse the repository at this point in the history
Servers always decode + as a space, which is undesirable when one
actually wants to query for a plus.

BREAKING CHANGE:

Queries including + will now actually query for + instead of space.
Most workarounds involving custom codecs will be unaffected.
Possible server-side workarounds will need to be undone.

Fixes #11058

PR Close #45111
  • Loading branch information
Clashsoft authored and dylhunn committed Apr 20, 2022
1 parent b8d3389 commit 76a9a24
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/common/http/src/params.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ const STANDARD_ENCODING_REPLACEMENTS: {[x: string]: string} = {
'24': '$',
'2C': ',',
'3B': ';',
'2B': '+',
'3D': '=',
'3F': '?',
'2F': '/',
Expand Down

0 comments on commit 76a9a24

Please sign in to comment.