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

Issue 7059016: Content settings pattern trim trailing dots from hostnames before matching a URL. (Closed)

Created:
9 years, 7 months ago by markusheintz_
Modified:
9 years, 6 months ago
CC:
chromium-reviews, Paweł Hajdan Jr.
Visibility:
Public.

Description

Content settings pattern trim trailing dots from hostnames before matching a URL. BUG=83591 TEST=content_settings_pattern_unittest.cc Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86424

Patch Set 1 #

Patch Set 2 : "Delete unnecessary newline" #

Patch Set 3 : Trim trailing dots from the host in patterm strings #

Patch Set 4 : Change test name. #

Patch Set 5 : Add one more test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -2 lines) Patch
M chrome/browser/content_settings/content_settings_pattern.cc View 1 2 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/content_settings/content_settings_pattern_unittest.cc View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
markusheintz_
Please review this CL. Thanks
9 years, 7 months ago (2011-05-23 15:13:08 UTC) #1
jochen (gone - plz use gerrit)
LGTM
9 years, 7 months ago (2011-05-23 15:56:15 UTC) #2
Bernhard Bauer
Could you do that while canonicalizing the hostname, so you also get Compare() et al. ...
9 years, 7 months ago (2011-05-23 15:56:36 UTC) #3
markusheintz
Am 23.05.2011 17:56 schrieb <bauerb@chromium.org>: > > Could you do that while canonicalizing the hostname, ...
9 years, 7 months ago (2011-05-23 16:48:45 UTC) #4
Bernhard Bauer
On Mon, May 23, 2011 at 09:48, Markus Heintz <markusheintz@google.com> wrote: > > Am 23.05.2011 ...
9 years, 7 months ago (2011-05-23 16:55:08 UTC) #5
markusheintz_
After thinking about this I strongly agree. It would allow us to take strings form ...
9 years, 7 months ago (2011-05-23 19:34:18 UTC) #6
markusheintz_
FYI: I will move the "Canonicalize" method from the ContentSettingsPattern class to the Parser. But ...
9 years, 7 months ago (2011-05-23 19:38:16 UTC) #7
Bernhard Bauer
9 years, 7 months ago (2011-05-24 14:30:25 UTC) #8
LGTM.

Powered by Google App Engine
This is Rietveld 408576698