warning: URI::RFC3986_PARSER.escape is obsolete. Use URI::RFC2396_PARSER.escape explicitly.
The code I was using was along those lines:
begin
this_webpage = URI.parse(this_webpage)
rescue URI::InvalidURIError
this_webpage = URI.parse(URI::Parser.new.escape(this_webpage))
end
Could you guys clean this up internally? In my own downstream code I never
use either of those two constants, but I do have warnings on, so I notice
this warning. I reckon this may simply be to change towards the other RFC,
but I don't know the URI internals well enough to suggest anything really.
The code I was using was along those lines:
Could you guys clean this up internally? In my own downstream code I never
use either of those two constants, but I do have warnings on, so I notice
this warning. I reckon this may simply be to change towards the other RFC,
but I don't know the URI internals well enough to suggest anything really.