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

Issue 5970050: code review 5970050: net/url: Correctly escape URL as per RFC 3986 (Closed)

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

Description

net/url: Correctly escape URL as per RFC 3986 The shouldEscape function did not correctly escape the reserved characters listed in RFC 3986 §2.2, breaking some strict web servers. Fixes issue 3433.

Patch Set 1 #

Patch Set 2 : diff -r 74dc15b37455 https://code.google.com/p/go #

Patch Set 3 : diff -r 74dc15b37455 https://code.google.com/p/go #

Total comments: 1

Patch Set 4 : diff -r 2376ffb966ed https://code.google.com/p/go #

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

Messages

Total messages: 8
stephane.travostino
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
12 years, 11 months ago (2012-03-30 19:52:45 UTC) #1
rsc
Please add tests for the other characters. More changed than just '!'. http://codereview.appspot.com/5970050/diff/3001/src/pkg/net/url/url.go File src/pkg/net/url/url.go ...
12 years, 11 months ago (2012-04-02 16:02:53 UTC) #2
stephane.travostino
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 11 months ago (2012-04-04 18:02:45 UTC) #3
stephane.travostino
On 2012/04/02 16:02:53, rsc wrote: > Please add tests for the other characters. > More ...
12 years, 11 months ago (2012-04-04 18:04:11 UTC) #4
rsc
LGTM Thank you.
12 years, 11 months ago (2012-04-05 15:15:40 UTC) #5
rsc
It looks like you have not completed a CLA, so I can't submit this yet. ...
12 years, 11 months ago (2012-04-05 15:17:16 UTC) #6
stephane.travostino
Done. Thank you for accepting the patch. On 2012/04/05 15:17:16, rsc wrote: > It looks ...
12 years, 11 months ago (2012-04-05 16:09:11 UTC) #7
rsc
12 years, 11 months ago (2012-04-05 17:23:12 UTC) #8
*** Submitted as http://code.google.com/p/go/source/detail?r=6b46fb967ca4 ***

net/url: Correctly escape URL as per RFC 3986

The shouldEscape function did not correctly escape the reserved characters
listed in RFC 3986 §2.2, breaking some strict web servers.
Fixes issue 3433.

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

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