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

Issue 4759052: code review 4759052: http: let FileServer work when path doesn't begin with ... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 9 months ago by bradfitz
Modified:
13 years, 9 months ago
Reviewers:
CC:
golang-dev, andybalholm, rsc
Visibility:
Public.

Description

http: let FileServer work when path doesn't begin with a slash ... as when it's over-stripped with StripPrefix.

Patch Set 1 #

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

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

Patch Set 4 : diff -r 9b990418626f https://go.googlecode.com/hg #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -1 line) Patch
M src/pkg/http/fs.go View 1 1 chunk +6 lines, -1 line 0 comments Download
M src/pkg/http/fs_test.go View 1 2 chunks +32 lines, -0 lines 0 comments Download

Messages

Total messages: 3
bradfitz
Hello golang-dev@googlegroups.com, andybalholm@gmail.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg
13 years, 9 months ago (2011-07-18 16:00:51 UTC) #1
rsc
LGTM
13 years, 9 months ago (2011-07-18 16:01:40 UTC) #2
bradfitz
13 years, 9 months ago (2011-07-18 16:04:51 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=035ebb6d7ab1 ***

http: let FileServer work when path doesn't begin with a slash

... as when it's over-stripped with StripPrefix.

R=golang-dev, andybalholm, rsc
CC=golang-dev
http://codereview.appspot.com/4759052
Sign in to reply to this message.

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