summaryrefslogtreecommitdiff
path: root/lang/ruby18/files/patch-lib_uri_generic.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ruby18/files/patch-lib_uri_generic.rb')
-rw-r--r--lang/ruby18/files/patch-lib_uri_generic.rb19
1 files changed, 0 insertions, 19 deletions
diff --git a/lang/ruby18/files/patch-lib_uri_generic.rb b/lang/ruby18/files/patch-lib_uri_generic.rb
deleted file mode 100644
index 09efb83d9029..000000000000
--- a/lang/ruby18/files/patch-lib_uri_generic.rb
+++ /dev/null
@@ -1,19 +0,0 @@
---- lib/uri/generic.rb.orig 2009-06-18 16:10:22.000000000 +0400
-+++ lib/uri/generic.rb 2009-06-18 16:10:51.000000000 +0400
-@@ -1027,7 +1027,15 @@
- end
- end
-
-- str << path_query
-+ path = path_query
-+
-+ #
-+ # Add URI delimiter if the path misses it (like as in FTP)
-+ #
-+ if not path.empty? and not str.empty? and path[0, 1] != '/'
-+ path = '/' + path
-+ end
-+ str << path
- end
-
- if @fragment