disk-storage memory reporter does not properly anonymize
Categories
(Core :: Networking: Cache, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: mccr8, Assigned: mayhemer)
Details
(Whiteboard: [necko-triaged])
Attachments
(1 file)
The reporter of bug 1626612 noticed that the cache memory reporter seems to include URLs even if the "anonymize" box is checked. The entries were like this (except with actual URLs instead of <some URL>):
5,841.42 MB (100.0%) -- explicit
├──4,754.89 MB (81.40%) -- network
│ ├──4,754.74 MB (81.40%) -- cache2
│ │ ├──3,012.85 MB (51.58%) ── disk-storage(O^userContextId=9&firstPartyDomain=<some URL>,)
Everything after disk-storage should probably be skipped of the report is anonymous.
Reporter | ||
Comment 1•5 years ago
|
||
There's also some memory-storage entries that are similar.
Reporter | ||
Comment 2•5 years ago
|
||
The code is here:
There's a comment that says "These key names are not privacy-sensitive." but that does not seem to be the case.
Comment 3•5 years ago
|
||
Honza, can you take a look?
![]() |
Assignee | |
Comment 4•5 years ago
|
||
(In reply to Andrew McCreight [:mccr8] from comment #2)
The code is here:
There's a comment that says "These key names are not privacy-sensitive." but that does not seem to be the case.
It's no longer truth, apparently. The easiest will probably be to not show the key at all. Showing a hash or an order number is not useful. Other option would be to do some kind of a regexp replace for URLs but it's not safe enough IMO.
![]() |
Assignee | |
Comment 5•5 years ago
|
||
Updated•5 years ago
|
Comment 7•5 years ago
|
||
bugherder |
Description
•