Permalink
Browse files

Bug 18101: Don't permit upload file dialog to fetch remote URLs

  • Loading branch information...
arthuredelstein committed Aug 20, 2017
1 parent af0ca6a commit 3b92bbdb00c256b668bfd08054ec937fef267e7c
Showing with 1 addition and 2 deletions.
  1. +1 −2 widget/windows/nsFilePicker.cpp
@@ -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) {

0 comments on commit 3b92bbd

Please sign in to comment.