Closed leklund closed 10 months ago
URI.escape has been deprecated and obsolete for many years. Ruby 2.7 emits a warning:
nsq-ruby-2.3.1/lib/nsq/discovery.rb:73: warning: URI.escape is obsolete
Using URI.encode_www_form_component will properly encode the topic for the lookup query.
URI.encode_www_form_component
I would love to see this merged and a new release pushed! The warnings in the console are super annoying.
URI.escape has been deprecated and obsolete for many years. Ruby 2.7 emits a warning:
Using
URI.encode_www_form_component
will properly encode the topic for the lookup query.