frontapp
frontapp copied to clipboard
Change URI.encode to URI.encode_www_form_component.
This fixes a deprecation warning in Ruby 2.7 and NoMethodError in Ruby 3.
URI.encode has been deprecated/removed in Ruby versions >= 2.7 and needs to be replaced with one of the other available methods.
+1 for this change, ran into this since we are on Ruby 3 and started using the query params for one query.
Anyone interested in merging this change?