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
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
..
action Rate limit outbound requests in Macros 2015-03-26 11:11:52 -07:00
application Show when objects have a non-default policy 2015-06-22 11:46:59 -07:00
applicationpanel Merge branch 'master' into redesign-2015 2015-05-22 12:57:32 -07:00
capability Add default policy to Files application 2014-11-21 11:17:20 -08:00
conduit phtize all the things 2015-05-22 21:16:39 +10:00
config phtize all the things 2015-05-22 21:16:39 +10:00
controller Allow upload of arbitrary text files 2015-07-28 08:04:13 -07:00
edge Modernize remaining edge types 2015-01-03 10:58:20 +11:00
editor Transactions - make implementing TYPE_XXXX_POLICY transactions optional 2015-05-19 12:58:18 -07:00
engine Use PhutilClassMapQuery 2015-07-07 22:51:57 +10:00
exception phtize all the things 2015-05-22 21:16:39 +10:00
garbagecollector Complete modularization of the GC daemon 2014-01-15 10:02:31 -08:00
lipsum Fix some linter violations 2015-01-03 09:11:41 +11:00
mail phtize all the things 2015-05-22 21:16:39 +10:00
management phtize all the things 2015-05-22 21:16:39 +10:00
markup phtize all the things 2015-05-22 21:16:39 +10:00
phid Make file handles have "/Fxxx" as the URI 2014-08-21 12:21:10 -07:00
query Move some PhabricatorSearchField subclasses 2015-07-06 22:52:05 +10:00
storage Remove duplicated duplicated words 2015-06-27 08:43:44 -07:00
transform Use PhutilClassMapQuery 2015-07-07 22:51:57 +10:00
view phtize all the things 2015-05-22 21:16:39 +10:00
PhabricatorImageTransformer.php Extend from Phobject 2015-06-15 18:02:27 +10:00