arineng / nicinfo

NicInfo is a smart, command-line RDAP client
ISC License
160 stars 28 forks source link

URI escape updated in Ruby #38

Closed geeohgeegeeoh closed 1 year ago

geeohgeegeeoh commented 4 years ago
23,25c23,26
<     safe = URI.escape( url )
<     safe = URI.escape( safe, "!*'();:@&=+$,/?#[]" )
<     return safe
---
>     return URI.encode_www_form_component(url, enc=nil)
>     #safe = URI.escape( url )
>     #safe = URI.escape( safe, "!*'();:@&=+$,/?#[]" )
>     #return safe
cybrhippy commented 4 years ago

Thank you.

gdubin commented 1 year ago

I believe this was fixed by another issue. This should no longer be an issue in 1.5.1 onward.