Descriptionhttp: Make StripPrefix leave a "/" at the start of the stripped path, even if the prefix ends with a "/".
It was using the empty string when the path was equal to the prefix, which caused a panic in ServeFile.
Patch Set 1 #Patch Set 2 : diff -r ba1bd8be90e2 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r ac2dc54479ae https://go.googlecode.com/hg/ #
Total comments: 1
MessagesTotal messages: 11
|