Add option to store download origin url in xattr
ClosedPublic

Authored by broulik on Sep 3 2019, 4:38 PM.

Details

Summary

This feature got removed all over the place (wget, browsers) for valid privacy reasons but I found it super useful, so add an off-by-default option to restore it. Downloads started from incognito tabs are ignored.

Test Plan


Diff Detail

Repository
R856 Plasma Browser Integration
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Sep 3 2019, 4:38 PM
Restricted Application added a project: Plasma. · View Herald TranscriptSep 3 2019, 4:38 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik requested review of this revision.Sep 3 2019, 4:38 PM
ngraham added a subscriber: ngraham.Sep 3 2019, 4:39 PM

Personally I find it useful too, so +1.

fvogt accepted this revision.Sep 3 2019, 4:49 PM

LGTM, but maybe move into a separate method instead? There's already too much in DownloadJob::update...

This revision is now accepted and ready to land.Sep 3 2019, 4:49 PM
broulik updated this revision to Diff 65349.Sep 3 2019, 5:53 PM
broulik retitled this revision from RFC: Add option to store download origin url in xattr to Add option to store download origin url in xattr.
  • Move into separate method
fvogt accepted this revision.Sep 3 2019, 6:00 PM
This revision was automatically updated to reflect the committed changes.