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

Issue 7963043: Retain traling slashes on URLs (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by wallyworld
Modified:
11 years, 1 month ago
Reviewers:
gz, mp+154876, jameinel
Visibility:
Public.

Description

Retain traling slashes on URLs When the final URL for the request was being constructed, all trailing slashes were being stripped, even if the URL was supposed to have one. https://code.launchpad.net/~wallyworld/goose/retain-trailing-slashes/+merge/154876 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -18 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M client/client.go View 3 chunks +9 lines, -8 lines 2 comments Download
M client/local_test.go View 3 chunks +22 lines, -3 lines 0 comments Download
M nova/nova.go View 1 chunk +7 lines, -7 lines 0 comments Download

Messages

Total messages: 3
wallyworld
Please take a look.
11 years, 1 month ago (2013-03-22 07:18:27 UTC) #1
jameinel
LGTM https://codereview.appspot.com/7963043/diff/1/client/client.go File client/client.go (right): https://codereview.appspot.com/7963043/diff/1/client/client.go#newcode119 client/client.go:119: } Definitely nice to see a common helper ...
11 years, 1 month ago (2013-03-22 17:18:18 UTC) #2
gz
11 years, 1 month ago (2013-03-24 15:10:44 UTC) #3
LGTM

https://codereview.appspot.com/7963043/diff/1/client/client.go
File client/client.go (right):

https://codereview.appspot.com/7963043/diff/1/client/client.go#newcode114
client/client.go:114: func makeURL(base string, parts []string) string {
Certainly an improvement on using path.Join though it seems like we may have
more fun in the future from not having robust url handling.
Sign in to reply to this message.

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