http: correct path to serve index.html.
calling filepath.FromSlash(x) make invalid character to serve file.
Fixes #2128
R=golang-dev, alex.brainman, rsc
CC=golang-dev
https://golang.org/cl/4810064
diff --git a/src/pkg/http/fs.go b/src/pkg/http/fs.go
index 26d9311..2c7c636 100644
--- a/src/pkg/http/fs.go
+++ b/src/pkg/http/fs.go
@@ -149,7 +149,7 @@
// use contents of index.html for directory, if present
if d.IsDirectory() {
- index := name + filepath.FromSlash(indexPage)
+ index := name + indexPage
ff, err := fs.Open(index)
if err == nil {
defer ff.Close()