lib/hanami/assets/helpers.rb in hanami-assets-1.1.0.beta1 vs lib/hanami/assets/helpers.rb in hanami-assets-1.1.0.beta2
- old
+ new
@@ -58,10 +58,10 @@
# @api private
CROSSORIGIN_ANONYMOUS = 'anonymous'.freeze
# @since 0.3.0
# @api private
- ABSOLUTE_URL_MATCHER = URI::Parser.new.make_regexp
+ ABSOLUTE_URL_MATCHER = URI::DEFAULT_PARSER.make_regexp
include Hanami::Helpers::HtmlHelper
# Inject helpers into the given class
#