Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(277)

Issue 3923043: code review 3923043: http: fix text displayed in Redirect (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 2 months ago by rsc
Modified:
14 years, 2 months ago
Reviewers:
CC:
r, golang-dev
Visibility:
Public.

Description

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.

Patch Set 1 #

Patch Set 2 : code review 3923043: http: fix text displayed in Redirect #

Patch Set 3 : code review 3923043: http: fix text displayed in Redirect #

Patch Set 4 : code review 3923043: http: fix text displayed in Redirect #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -46 lines) Patch
M src/pkg/http/server.go View 1 1 chunk +51 lines, -46 lines 0 comments Download

Messages

Total messages: 3
rsc
Hello r (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 2 months ago (2011-01-11 16:12:21 UTC) #1
r
LGTM
14 years, 2 months ago (2011-01-11 22:07:35 UTC) #2
rsc
14 years, 2 months ago (2011-01-11 22:15:31 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=2bb9ceec8a96 ***

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
http://codereview.appspot.com/3923043
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b