New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 786190 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Consider stripping URLs of non-global UKM SourceIds if they don't match a URL of global one.

Project Member Reported by holte@chromium.org, Nov 16 2017

Issue description

SourceUrlRecorder should be recording all of the URLs that we allow to be recorded, so we should be able to use it's URLs as a whitelist and strip data from other sources.  This would provide an extra check against incorrect uses of UpdateSourceUrl.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Dec 20 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/bc8e22cb13f7897a9f3a45fb504f37b9813948ca

commit bc8e22cb13f7897a9f3a45fb504f37b9813948ca
Author: Steven Holte <holte@google.com>
Date: Wed Dec 20 21:21:42 2017

Cleanup UkmSource interface.

Replace setters with constructor args, simplify comments.

Bug:  786190 
Change-Id: I1aa9a8c085de9b1418ef9397c4d180394ed35842
Reviewed-on: https://chromium-review.googlesource.com/835271
Commit-Queue: Steven Holte <holte@chromium.org>
Reviewed-by: Brian White <bcwhite@chromium.org>
Cr-Commit-Position: refs/heads/master@{#525462}
[modify] https://crrev.com/bc8e22cb13f7897a9f3a45fb504f37b9813948ca/components/ukm/ukm_recorder_impl.cc
[modify] https://crrev.com/bc8e22cb13f7897a9f3a45fb504f37b9813948ca/components/ukm/ukm_source.cc
[modify] https://crrev.com/bc8e22cb13f7897a9f3a45fb504f37b9813948ca/components/ukm/ukm_source.h

Project Member

Comment 3 by bugdroid1@chromium.org, Mar 7 2018

Comment 4 by holte@chromium.org, Mar 7 2018

Status: Fixed (was: Assigned)

Sign in to add a comment