Actions
Bug #10896
closedFirst example in the documentation for URI::join shows incorrect result
Description
The example is
p URI.join("http://example.com/","main.rbx")
# => #<URI::HTTP:0x2022ac02 URL:http://localhost/main.rbx>
but should be
p URI.join("http://example.com/","main.rbx")
# => #<URI::HTTP:0x2022ac02 URL:http://example.com/main.rbx>
This seems to have been introduced in the documentation for 1.9.3 and occurs in 2.1.5 and 2.2.0 docs as well.
Updated by glenab (Glen Aultman-Bettridge) almost 10 years ago
I submitted a PR (https://github.com/ruby/ruby/pull/838) for this
Updated by gogotanaka (Kazuki Tanaka) over 9 years ago
- Status changed from Open to Closed
It was solved with 49728. thanks.
Actions
Like0
Like0Like0