-
Notifications
You must be signed in to change notification settings - Fork 114
Conversation
directory or desktop fix brave/browser-laptop#13229 fix brave/browser-laptop#13255 Auditors: @bridiver, @bsclifton
588042a
to
1e62668
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Finally confirmed fix (thanks again for the help)! Nice job on this one 😄
Using `DIR_DEFAULT_DOWNLOADS_SAFE`
Using `DIR_DEFAULT_DOWNLOADS_SAFE`
Using `DIR_DEFAULT_DOWNLOADS_SAFE`
@@ -86,6 +87,23 @@ struct Converter<file_dialog::DialogSettings> { | |||
|
|||
namespace { | |||
|
|||
// Consider downloads 'dangerous' if they go to the home directory on Linux and | |||
// to the desktop on any platform. | |||
bool DownloadPathIsDangerous(const base::FilePath& download_path) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @jumde - this will conflict with your PR I think and the safe_browsing changes should take priority
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in your branch please update this to use download_prefs.cc version of DownloadPathIsDangerous
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or remove the whole change if this is no longer necessary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
miscommunication in #508 (review) fix brave/browser-laptop#14407 Auditors: @bridiver, @jumde
when DIR_DEFAULT_DOWNLOADS got home directory or desktop
fix brave/browser-laptop#13229
fix brave/browser-laptop#13255
Auditors: @bridiver, @bsclifton