lib/rack/lint.rb in rack-3.1.7 vs lib/rack/lint.rb in rack-3.1.8
- old
+ new
@@ -10,10 +10,10 @@
# Rack::Lint validates your application and the requests and
# responses according to the Rack spec.
class Lint
REQUEST_PATH_ORIGIN_FORM = /\A\/[^#]*\z/
- REQUEST_PATH_ABSOLUTE_FORM = /\A#{URI::DEFAULT_PARSER.make_regexp}\z/
+ REQUEST_PATH_ABSOLUTE_FORM = /\A#{Utils::URI_PARSER.make_regexp}\z/
REQUEST_PATH_AUTHORITY_FORM = /\A[^\/:]+:\d+\z/
REQUEST_PATH_ASTERISK_FORM = '*'
def initialize(app)
@app = app