From b53ec390d18e573a4c8192ab6615c881aed95574 Mon Sep 17 00:00:00 2001 From: knu Date: Thu, 14 Dec 2017 01:11:28 +0000 Subject: Allow empty path components in a URI [Bug #8352] * generic.rb (URI::Generic#merge, URI::Generic#route_to): Fix a bug where a sequence of slashes in the path part gets collapsed to a single slash. According to the relevant RFCs and WHATWG URL Standard, empty path components are simply valid and there is no special treatment defined for them, so we just keep them as they are. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- NEWS | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 12949c496c..b458b549a3 100644 --- a/NEWS +++ b/NEWS @@ -353,6 +353,10 @@ with all sufficient information, see the ChangeLog file or Redmine * StringScanner#size, StringScanner#captures, StringScanner#values_at [Feature #836] +* URI + + * Relative path operations no longer collapse consecutive slashes to a single slash. [Bug #8352] + * WEBrick * Add Server Name Indication (SNI) support [Feature #13729] -- cgit v1.2.3