Skip to content

Commit bf4e6fd

Browse files
committed
fix space
1 parent 6a13743 commit bf4e6fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/hackney_url.erl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,8 @@ partial_pathencode(<<C, Rest/binary>> = Bin, Acc) ->
332332
C >= $a, C =< $z -> partial_pathencode(Rest, <<Acc/binary, C>>);
333333
C =:= $.; C =:= $-; C =:= $~; C =:= $_ ->
334334
partial_pathencode(Rest, <<Acc/binary, C>>);
335+
C =:= $ ->
336+
partial_pathencode(Rest, <<Acc/binary, $+>>);
335337
C =:= $% ->
336338
%% special case, when a % is passed to the path, check if
337339
%% it's a valid escape sequence. If the sequence is valid we

0 commit comments

Comments
 (0)