diff options
| author | Andrew Gerrand <adg@golang.org> | 2010-09-22 16:59:35 +1000 |
|---|---|---|
| committer | Andrew Gerrand <adg@golang.org> | 2010-09-22 16:59:35 +1000 |
| commit | ad9042bdfacbfe295157103fa44e0ce41ce12875 (patch) | |
| tree | d6f78619f326f4e78cf46f2dae58760ffe8b53ad /src/pkg/http/request.go | |
| parent | d093bdbe7e10eb8b613b346ae5acba7569c97f7e (diff) | |
| download | go-ad9042bdfacbfe295157103fa44e0ce41ce12875.tar.xz | |
http: don't always escape all reserved chars (fix build)
R=nigeltao, nigeltao_golang
CC=golang-dev
https://golang.org/cl/2206044
Diffstat (limited to 'src/pkg/http/request.go')
| -rw-r--r-- | src/pkg/http/request.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/http/request.go b/src/pkg/http/request.go index a602fd52c0..56a930e451 100644 --- a/src/pkg/http/request.go +++ b/src/pkg/http/request.go @@ -191,7 +191,7 @@ func (req *Request) Write(w io.Writer) os.Error { uri := req.RawURL if uri == "" { - uri = valueOrDefault(urlEscape(req.URL.Path, false), "/") + uri = valueOrDefault(urlEscape(req.URL.Path, false, false), "/") if req.URL.RawQuery != "" { uri += "?" + req.URL.RawQuery } |
