diff options
Diffstat (limited to 'lib/uri/generic.rb')
-rw-r--r-- | lib/uri/generic.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/uri/generic.rb b/lib/uri/generic.rb index 32a4417701..6d42936bd0 100644 --- a/lib/uri/generic.rb +++ b/lib/uri/generic.rb @@ -551,7 +551,7 @@ module URI # escapes 'user:password' +v+ based on RFC 1738 section 3.1 def escape_userpass(v) - v = parser.escape(v, /[@:\/]/o) # RFC 1738 section 3.1 #/ + parser.escape(v, /[@:\/]/o) # RFC 1738 section 3.1 #/ end private :escape_userpass |