Descriptionnet/url: prepend slash to path in String()
Previously if a path was set manually without a leading /, String()
would not insert the slash when writing its output. This would lead
to situations where a URL that should be http://www.google.com/search
is output as http://www.google.comsearch
Fixes issue 5927.
Patch Set 1 #Patch Set 2 : diff -r 86a2e482982f https://code.google.com/p/go #Patch Set 3 : diff -r 86a2e482982f https://code.google.com/p/go #Patch Set 4 : diff -r 86a2e482982f https://code.google.com/p/go #Patch Set 5 : diff -r 86a2e482982f https://code.google.com/p/go #
Total comments: 1
Patch Set 6 : diff -r 86a2e482982f https://code.google.com/p/go #MessagesTotal messages: 13
|