Skip to content

Commit 6b72c52

Browse files
authored
Encode = in query keys and values
As `purescript-uri` encodes as if there is meaning in queries, we should probably escape `=`
1 parent 674788d commit 6b72c52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/URI/Query.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ printQueryPart = S.joinWith "" <<< map printChar <<< S.split (S.Pattern "")
7070
| otherwise = encodeURIComponent s
7171

7272
rxPrintable RX.Regex
73-
rxPrintable = unsafePartial fromRight $ RX.regex "[$+=/?:@]" RXF.global
73+
rxPrintable = unsafePartial fromRight $ RX.regex "[$+/?:@]" RXF.global

0 commit comments

Comments
 (0)