diff --git a/src/applications/files/controller/PhabricatorFileDropUploadController.php b/src/applications/files/controller/PhabricatorFileDropUploadController.php index fbc4daa93c..222fc799c7 100644 --- a/src/applications/files/controller/PhabricatorFileDropUploadController.php +++ b/src/applications/files/controller/PhabricatorFileDropUploadController.php @@ -3,6 +3,12 @@ final class PhabricatorFileDropUploadController extends PhabricatorFileController { + public function shouldAllowRestrictedParameter($parameter_name) { + // Prevent false positives from file content when it is submitted via + // drag-and-drop upload. + return true; + } + /** * @phutil-external-symbol class PhabricatorStartup */