Skip to content

Commit

Permalink
Bug 18101: Don't permit upload file dialog to fetch remote URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
arthuredelstein committed Aug 20, 2017
1 parent af0ca6a commit 3b92bbd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions widget/windows/nsFilePicker.cpp
Expand Up @@ -921,8 +921,7 @@ nsFilePicker::ShowFilePicker(const nsString& aInitialDir, bool &aWasInitError)
// options

FILEOPENDIALOGOPTIONS fos = 0;
fos |= FOS_SHAREAWARE | FOS_OVERWRITEPROMPT |
FOS_FORCEFILESYSTEM;
fos |= FOS_SHAREAWARE | FOS_OVERWRITEPROMPT;

// Handle add to recent docs settings
if (IsPrivacyModeEnabled() || !mAddToRecentDocs) {
Expand Down

0 comments on commit 3b92bbd

Please sign in to comment.