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

Issue 127380043: code review 127380043: mime: Make filename extensions case-insensitive

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 9 months ago by jra
Modified:
9 years, 8 months ago
Reviewers:
bradfitz
CC:
golang-codereviews, bradfitz, dave_cheney.net
Visibility:
Public.

Description

mime: Make filename extensions case-insensitive Fixes issue 8350.

Patch Set 1 #

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

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

Total comments: 2

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

Total comments: 2

Patch Set 5 : diff -r fb649e8410956cd0730b86b4991c97613aacb8d8 https://go.googlecode.com/hg/ #

Total comments: 14

Patch Set 6 : diff -r 5f91941d28fb718be5e86b34e532e5fc0a83461b https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -24 lines) Patch
M src/pkg/mime/type.go View 1 2 3 4 5 4 chunks +36 lines, -16 lines 0 comments Download
M src/pkg/mime/type_plan9.go View 1 2 3 5 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/mime/type_test.go View 1 2 3 4 5 2 chunks +11 lines, -5 lines 0 comments Download
M src/pkg/mime/type_unix.go View 1 5 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/mime/type_windows.go View 1 2 3 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11
jra
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
9 years, 9 months ago (2014-08-14 21:25:37 UTC) #1
bradfitz
I think this needs more tests too. https://codereview.appspot.com/127380043/diff/40001/src/pkg/mime/type.go File src/pkg/mime/type.go (right): https://codereview.appspot.com/127380043/diff/40001/src/pkg/mime/type.go#newcode48 src/pkg/mime/type.go:48: typename := ...
9 years, 9 months ago (2014-08-15 01:19:21 UTC) #2
dave_cheney.net
What if we just change the documentation on the method to say it expects an ...
9 years, 9 months ago (2014-08-15 01:33:21 UTC) #3
jra
Hello golang-codereviews@googlegroups.com, bradfitz@golang.org, dave@cheney.net (cc: golang-codereviews@googlegroups.com), Please take another look.
9 years, 9 months ago (2014-08-17 19:53:40 UTC) #4
bradfitz
https://codereview.appspot.com/127380043/diff/60001/src/pkg/mime/type.go File src/pkg/mime/type.go (right): https://codereview.appspot.com/127380043/diff/60001/src/pkg/mime/type.go#newcode25 src/pkg/mime/type.go:25: var mimeTypesLc = mimeTypes what is this? this is ...
9 years, 9 months ago (2014-08-18 17:07:05 UTC) #5
jra
https://codereview.appspot.com/127380043/diff/60001/src/pkg/mime/type.go File src/pkg/mime/type.go (right): https://codereview.appspot.com/127380043/diff/60001/src/pkg/mime/type.go#newcode25 src/pkg/mime/type.go:25: var mimeTypesLc = mimeTypes This is too-fast hacking with ...
9 years, 9 months ago (2014-08-19 06:56:57 UTC) #6
jra
Hello golang-codereviews@googlegroups.com, bradfitz@golang.org, dave@cheney.net (cc: golang-codereviews@googlegroups.com), Please take another look.
9 years, 8 months ago (2014-08-25 20:48:29 UTC) #7
bradfitz
https://codereview.appspot.com/127380043/diff/80001/src/pkg/mime/type.go File src/pkg/mime/type.go (right): https://codereview.appspot.com/127380043/diff/80001/src/pkg/mime/type.go#newcode25 src/pkg/mime/type.go:25: var mimeTypesLc = map[string]string{} Let's go with Lower instead ...
9 years, 8 months ago (2014-08-25 21:08:00 UTC) #8
jra
Ready for a final look. https://codereview.appspot.com/127380043/diff/80001/src/pkg/mime/type.go File src/pkg/mime/type.go (right): https://codereview.appspot.com/127380043/diff/80001/src/pkg/mime/type.go#newcode25 src/pkg/mime/type.go:25: var mimeTypesLc = map[string]string{} ...
9 years, 8 months ago (2014-08-26 21:48:25 UTC) #9
bradfitz
LGTM On Tue, Aug 26, 2014 at 2:48 PM, <jra@nella.org> wrote: > Ready for a ...
9 years, 8 months ago (2014-08-28 15:22:44 UTC) #10
bradfitz
9 years, 8 months ago (2014-08-28 15:22:57 UTC) #11
*** Submitted as https://code.google.com/p/go/source/detail?r=3b0890b3de1d ***

mime: Make filename extensions case-insensitive

Fixes issue 8350.

LGTM=bradfitz
R=golang-codereviews, bradfitz, dave
CC=golang-codereviews
https://codereview.appspot.com/127380043

Committer: Brad Fitzpatrick <bradfitz@golang.org>
Sign in to reply to this message.

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