node-hbase icon indicating copy to clipboard operation
node-hbase copied to clipboard

encode RFC3986

Open fly96-ocean opened this issue 8 years ago • 1 comments

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); );

fly96-ocean avatar Jul 06 '17 08:07 fly96-ocean

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

wdavidw avatar Aug 28 '18 23:08 wdavidw