]> Cypherpunks repositories - gostls13.git/commit
http: fix text displayed in Redirect
authorRuss Cox <rsc@golang.org>
Tue, 11 Jan 2011 22:15:28 +0000 (17:15 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 11 Jan 2011 22:15:28 +0000 (17:15 -0500)
commitcc928b7b6e72c367f96fcb1eda0e2d417d83a41d
treeab77e0885b43f91bf51c29e2cce3c2ef23ea06e5
parent3a43ff1a77d64be009add9eda36ce5ef01081e25
http: fix text displayed in Redirect

In the case where r.Method == "POST", was
calling Printf with an argument but "" format string,
causing a spurious %!EXTRA(...) message.

Also escape string properly in HTML generation.

R=r
CC=golang-dev
https://golang.org/cl/3923043
src/pkg/http/server.go