Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Issue 7039048: Fix data URL bug reported on Wikipedia (Closed)

Created:
9 years, 7 months ago by abarth-chromium
Modified:
9 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Fix data URL bug reported on Wikipedia The previous parser got confused if charset wasn't the last parameter. BUG=60287 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86255

Patch Set 1 #

Total comments: 5

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Patch Set 5 : Fix data URL bug reported on Wikipedia #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -19 lines) Patch
M net/base/data_url.cc View 1 2 3 4 3 chunks +24 lines, -19 lines 0 comments Download
M net/base/data_url_unittest.cc View 1 2 3 4 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
abarth-chromium
I'm not really sure who to send this change to. Will, if you're not he ...
9 years, 7 months ago (2011-05-18 20:18:06 UTC) #1
willchan no longer on Chromium
Need a sec to double check logic but stuck in meetings for a bit. Will ...
9 years, 7 months ago (2011-05-18 21:00:14 UTC) #2
Peter Kasting
http://codereview.chromium.org/7039048/diff/1/net/base/data_url.cc File net/base/data_url.cc (right): http://codereview.chromium.org/7039048/diff/1/net/base/data_url.cc#newcode49 net/base/data_url.cc:49: const size_t kCharsetTagLength = sizeof(kCharsetTag) - 1; On 2011/05/18 ...
9 years, 7 months ago (2011-05-18 21:05:04 UTC) #3
abarth-chromium
Uploaded fixed version.
9 years, 7 months ago (2011-05-18 21:07:06 UTC) #4
willchan no longer on Chromium
LGTM, thanks for the fix. http://codereview.chromium.org/7039048/diff/6/net/base/data_url.cc File net/base/data_url.cc (right): http://codereview.chromium.org/7039048/diff/6/net/base/data_url.cc#newcode49 net/base/data_url.cc:49: const size_t kCharsetTagLength = ...
9 years, 7 months ago (2011-05-18 23:52:02 UTC) #5
abarth-chromium
Thanks. Lowercasing not needed, apparently.
9 years, 7 months ago (2011-05-18 23:56:50 UTC) #6
commit-bot: I haz the power
9 years, 7 months ago (2011-05-19 00:22:59 UTC) #7

Powered by Google App Engine
This is Rietveld 408576698