node-hbase
node-hbase copied to clipboard
encode RFC3986
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); );
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