encode RFC3986
fly96-ocean opened this issue · comments
FLY commented
Hi,
I found our URI contains special character: !'()*.
So could you please add encodeURIComponentRFC3986 function and then replace original encodeURIComponent in utils.coffee?
encodeURIComponentRFC3986: (str) ->
return encodeURIComponent(str).replace(/[!'()*]/g, (c) ->
return '%' + c.charCodeAt(0).toString(16);
);
Worms David commented
I have some time to fix this one but it would be very nice to get a sample reproducing the problem to make sure I hit the right issue while writing a test case