1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 01:32:42 +01:00
phorge-phorge/src/applications/files/controller
epriestley bbc1074ced Allow upload of arbitrary text files
Summary:
Fixes T8984. Because of how drag-and-drop upload works, the text file with content `code` is interpreted as a forbidden variable. Disable this check for the drop upload controller.

(The risk here is a general one where the controller redirects and bundles paramters; this controller does not do that, so it's safe to make this change.)

Test Plan: Uploaded a text file containing only the string "code" (no quotes) by using drag-and-drop.

Reviewers: chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T8984

Differential Revision: https://secure.phabricator.com/D13744
2015-07-28 08:04:13 -07:00
..
PhabricatorFileCommentController.php Update Files for handleRequest 2015-07-27 09:41:53 -07:00
PhabricatorFileComposeController.php Update Files for handleRequest 2015-07-27 09:41:53 -07:00
PhabricatorFileController.php Increase visibility of PhabricatorController::buildApplicationMenu methods 2015-01-16 07:41:26 +11:00
PhabricatorFileDataController.php Update Files for handleRequest 2015-07-27 09:41:53 -07:00
PhabricatorFileDeleteController.php Update Files for handleRequest 2015-07-27 09:41:53 -07:00
PhabricatorFileDropUploadController.php Allow upload of arbitrary text files 2015-07-28 08:04:13 -07:00
PhabricatorFileEditController.php Update Files for handleRequest 2015-07-27 09:41:53 -07:00
PhabricatorFileInfoController.php Update Files for handleRequest 2015-07-27 09:41:53 -07:00
PhabricatorFileListController.php Quicksand - make things work correctly with global drag and drop upload 2015-04-23 15:08:35 -07:00
PhabricatorFileTransformController.php When file transforms race and lose, accept defeat gracefully 2015-05-21 09:42:20 -07:00
PhabricatorFileTransformListController.php Implement new profile transform with amazing "error handling" feature 2015-05-13 11:38:45 -07:00
PhabricatorFileUploadController.php Quicksand - make things work correctly with global drag and drop upload 2015-04-23 15:08:35 -07:00
PhabricatorFileUploadDialogController.php Update Files for handleRequest 2015-07-27 09:41:53 -07:00