Skip to content

Commit 5b7363c

Browse files
alexandrejbrbenoitc
authored andcommitted
Fix urlencode bug (#597)
1 parent 32c8c34 commit 5b7363c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hackney_url.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ urlencode(<<C, Rest/binary>>, Acc, P=Plus, U=Upper) ->
319319
C >= $a, C =< $z -> urlencode(Rest, <<Acc/binary, C>>, P, U);
320320
C =:= $.; C =:= $-; C =:= $~; C =:= $_; C =:= $*; C =:= $@ ->
321321
urlencode(Rest, <<Acc/binary, C>>, P, U);
322-
C =:= $(; C =:= $); C =:= $!, C =:= $$ ->
322+
C =:= $(; C =:= $); C =:= $!; C =:= $$ ->
323323
urlencode(Rest, <<Acc/binary, C>>, P, U);
324324
C =:= $ , Plus ->
325325
urlencode(Rest, <<Acc/binary, $+>>, P, U);

0 commit comments

Comments
 (0)