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

Issue 14815043: code review 14815043: net/url: fix regression when serializing relative URLs (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 6 months ago by bradfitz
Modified:
10 years, 6 months ago
Reviewers:
r, dsymonds
CC:
golang-dev, dsymonds, r
Visibility:
Public.

Description

net/url: fix regression when serializing relative URLs Only add a slash to path if it's a separator between a host and path. Fixes issue 6609

Patch Set 1 #

Patch Set 2 : diff -r 9620ff603344 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 9620ff603344 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 9620ff603344 https://go.googlecode.com/hg/ #

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

Messages

Total messages: 4
bradfitz
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
10 years, 6 months ago (2013-10-17 22:14:08 UTC) #1
dsymonds
LGTM
10 years, 6 months ago (2013-10-17 22:26:26 UTC) #2
r
LGTM
10 years, 6 months ago (2013-10-17 22:35:44 UTC) #3
bradfitz
10 years, 6 months ago (2013-10-17 23:06:48 UTC) #4
*** Submitted as https://code.google.com/p/go/source/detail?r=67ccd5be690e ***

net/url: fix regression when serializing relative URLs

Only add a slash to path if it's a separator between
a host and path.

Fixes issue 6609

R=golang-dev, dsymonds, r
CC=golang-dev
https://codereview.appspot.com/14815043
Sign in to reply to this message.

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