mirror of
https://github.com/samsonjs/http-cookie.git
synced 2026-03-25 08:55:53 +00:00
Oops, fix infinite recursive calls of URI().
This commit is contained in:
parent
3d7b39ff86
commit
79ab0ffabf
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ class HTTP::Cookie
|
|||
if RUBY_VERSION < "1.9.3"
|
||||
module URIFix
|
||||
def URI(url)
|
||||
url.is_a?(URI) ? url : URI(url)
|
||||
url.is_a?(URI) ? url : Kernel::URI(url)
|
||||
end
|
||||
private :URI
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue