mirror of
https://github.com/samsonjs/http-cookie.git
synced 2026-04-27 14:57:46 +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"
|
if RUBY_VERSION < "1.9.3"
|
||||||
module URIFix
|
module URIFix
|
||||||
def URI(url)
|
def URI(url)
|
||||||
url.is_a?(URI) ? url : URI(url)
|
url.is_a?(URI) ? url : Kernel::URI(url)
|
||||||
end
|
end
|
||||||
private :URI
|
private :URI
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue