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

Issue 1742057: code review 1742057: http: obscure passwords in return value of URL.String (Closed)

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

Description

http: obscure passwords in return value of URL.String Fixes issue 974.

Patch Set 1 #

Patch Set 2 : code review 1742057: http: add HidePassword function for removing passwords ... #

Patch Set 3 : code review 1742057: http: add HidePassword function for removing passwords ... #

Patch Set 4 : code review 1742057: http: obscure passwords in return value of URL.String #

Total comments: 3

Patch Set 5 : code review 1742057: http: obscure passwords in return value of URL.String #

Patch Set 6 : code review 1742057: http: obscure passwords in return value of URL.String #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -1 line) Patch
M src/pkg/http/client.go View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M src/pkg/http/url.go View 1 2 3 4 1 chunk +6 lines, -1 line 0 comments Download
M src/pkg/http/url_test.go View 1 2 3 4 5 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 12
bytbox
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change.
15 years ago (2010-08-06 05:24:09 UTC) #1
rsc
I'm not sure about the design here. I don't believe HidePassword should be public. I ...
15 years ago (2010-08-06 18:59:52 UTC) #2
bytbox
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), Please take another look.
15 years ago (2010-08-06 22:19:37 UTC) #3
rsc
On Fri, Aug 6, 2010 at 15:19, <bytbox@gmail.com> wrote: > Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), > ...
15 years ago (2010-08-06 23:41:19 UTC) #4
bytbox
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), Please take another look.
15 years ago (2010-08-07 01:35:42 UTC) #5
rsc1
looks pretty good. thanks for fixing this http://codereview.appspot.com/1742057/diff/11001/12002 File src/pkg/http/url.go (right): http://codereview.appspot.com/1742057/diff/11001/12002#newcode393 src/pkg/http/url.go:393: userinfoParts := ...
15 years ago (2010-08-12 03:59:18 UTC) #6
bytbox
http://codereview.appspot.com/1742057/diff/11001/12003 File src/pkg/http/url_test.go (right): http://codereview.appspot.com/1742057/diff/11001/12003#newcode449 src/pkg/http/url_test.go:449: type HidePasswordTest struct { On 2010/08/12 03:59:18, rsc1 wrote: ...
15 years ago (2010-08-12 08:48:30 UTC) #7
bytbox
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
15 years ago (2010-08-12 08:49:09 UTC) #8
rsc
> Unless I'm misreading something, the testing code above assumes the URL > input to ...
15 years ago (2010-08-12 15:56:35 UTC) #9
bytbox
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
15 years ago (2010-08-12 20:45:49 UTC) #10
rsc1
LGTM
14 years, 11 months ago (2010-08-26 16:38:43 UTC) #11
rsc
14 years, 11 months ago (2010-08-26 17:32:21 UTC) #12
*** Submitted as http://code.google.com/p/go/source/detail?r=82c14491fdb3 ***

http: obscure passwords in return value of URL.String

Fixes issue 974.

R=rsc
CC=golang-dev
http://codereview.appspot.com/1742057

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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