mirror of
https://github.com/samsonjs/http-cookie.git
synced 2026-03-25 08:55:53 +00:00
URI.for is not supported on old rubies
This commit is contained in:
parent
052479536c
commit
27cc46c1d7
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ class HTTP::Cookie::URIParser
|
|||
# Not an absolute HTTP/HTTPS URI
|
||||
return URI::DEFAULT_PARSER.parse(uri) unless m
|
||||
|
||||
URI.for(
|
||||
URI.scheme_list[m['scheme'].upcase].new(
|
||||
m['scheme'],
|
||||
m['userinfo'],
|
||||
m['host'],
|
||||
|
|
|
|||
Loading…
Reference in a new issue