]> Cypherpunks repositories - gostls13.git/commit
http: fix serving from CWD with http.ServeFile
authorAndrew Gerrand <adg@golang.org>
Thu, 17 Nov 2011 00:42:25 +0000 (11:42 +1100)
committerAndrew Gerrand <adg@golang.org>
Thu, 17 Nov 2011 00:42:25 +0000 (11:42 +1100)
commit0b1bcf8f94620b34396b3549ea959646e830c7c8
treee3e892d00ea3410afbfdbe5df9635733497c864d
parent3ec82f6e0960ffd082a6b63b3c784e8901bd3c4d
http: fix serving from CWD with http.ServeFile
http: make Dir("") equivalent to Dir(".")

Fixes #2471.

R=golang-dev, bradfitz, rsc
CC=golang-dev
https://golang.org/cl/5370061
src/pkg/net/http/fs.go
src/pkg/net/http/fs_test.go