22b81b5bf5 (master): [ruby/uri] Do not allow empty host names, as they are not allowed by RFC 3986

0 views
Skip to first unread message

Jeremy Evans

unread,
Jul 12, 2025, 3:07:52 AMJul 12
to ruby...@ruby-lang.org
Jeremy Evans 2024-08-19 23:42:40 +0000 (Mon, 19 Aug 2024)

New Revision: 22b81b5bf5

https://github.com/ruby/ruby/commit/22b81b5bf5

Log:
[ruby/uri] Do not allow empty host names, as they are not allowed by RFC 3986

Pointed out by John Hawthorn.

Fixes [Bug #20686]

https://github.com/ruby/uri/commit/c0cfa04a66

Modified files:
lib/uri/http.rb
test/uri/test_generic.rb
test/uri/test_http.rb
Reply all
Reply to author
Forward
0 new messages