Expected behavior
With Ruby warnings enabled there should be no warnings in the logs. URI::RFC2396_PARSER is used instead of URI::RFC3986_PARSER
Actual behavior
When enabling Ruby warnings with RUBYOPT="-W2 -W:deprecated -W:experimental -W:performance" there is a warning like this:
/baseimage/cache/bundler/ruby/3.3.0/gems/sprockets-4.2.1/lib/sprockets/uri_utils.rb:66: warning: URI::RFC3986_PARSER.escape is obsolete. Use URI::RFC2396_PARSER.escape explicitly.
AND other cases
/baseimage/cache/bundler/ruby/3.3.0/gems/sprockets-4.2.1/lib/sprockets/uri_utils.rb:165
/baseimage/cache/bundler/ruby/3.3.0/gems/sprockets-4.2.1/lib/sprockets/uri_utils.rb:48
/baseimage/cache/bundler/ruby/3.3.0/gems/sprockets-4.2.1/lib/sprockets/uri_utils.rb:185
System configuration
Related PR
#812