view icon indicating copy to clipboard operation
view copied to clipboard

Fix URI parsing for `uri` 1.0 (obsolete warning)

Open cllns opened this issue 1 year ago • 0 comments

If you update uri to version 1.0 (which Ruby 3.4 will require by default but is possible now with 3.3), you get the following warning ~15 times:

~/hanami-view/lib/hanami/view/helpers/escape_helper.rb:123: warning: URI::RFC3986_PARSER.extract is obsolete. Use URI::RFC2396_PARSER.extract explicitly.

See the following related issues:

  • https://github.com/ruby/uri/issues/118
  • https://github.com/rails/rails/pull/52779

cllns avatar Nov 23 '24 19:11 cllns