1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-11 09:22:40 +01:00
phorge-phorge/src/applications
Ricky Elrod 7734cab580 Fix pastebin mimetypes.
Summary:
PhabricatorFile() was setting the mimetype based on extension, meaning that you couldn't view the plain-text file if you saved a file, for example, as a .php. It would set the mimetype to "text/x-php; charset=us-ascii". In this commit, I force the mimetype to text/plain.

Test Plan:
Tried pasting a new file and was able to both see it via the pastebin viewer and in plain-text via File.

Reviewers:
epriestley

CC:

Differential Revision: 429
2011-06-10 15:04:45 -04:00
..
auth Revise administrative workflow for user creation 2011-05-31 13:06:32 -07:00
base Enable multiple web sessions 2011-05-12 18:45:19 -07:00
conduit Added a conduit call to update arc unit results for a postponed test. 2011-06-09 10:45:58 -07:00
daemon Improve web tools for viewing daemons 2011-05-03 06:38:12 -07:00
differential Provide basic keyboard navigation support for Differential. 2011-06-09 14:55:44 -07:00
diffusion Fix some small Diffusion file browse view bugs 2011-06-09 15:53:40 -07:00
directory Use Javelin workflow on directory item deletion 2011-05-28 11:57:31 -07:00
draft/storage Revision comment drafts. 2011-02-05 16:57:21 -08:00
files Link macro thumbs and show an exact page count 2011-06-02 17:20:30 -07:00
help/controller Provide basic structure for keyboard shortcuts 2011-06-07 11:23:19 -07:00
herald Fix Herald exception when updating a diff that has carryover CCs 2011-06-09 14:10:40 -07:00
maniphest Store metadata with Differential and Maniphest comments, and store added 2011-06-09 10:43:25 -07:00
metamta Fix UTF-8 in email 2011-06-06 17:53:20 -07:00
owners Removing reordering code that wasn't needed 2011-04-20 17:07:46 -07:00
paste Fix pastebin mimetypes. 2011-06-10 15:04:45 -04:00
people Fix regenerate arcanist cert, setup stuff and avoid accept non valid image files as profile picture. 2011-06-02 23:27:10 -03:00
phid Pastebin 2011-06-10 13:41:18 -04:00
preferences/controller Add missing includes from XHPAST parse bug. 2011-04-06 23:14:58 -07:00
project Add missing includes from XHPAST parse bug. 2011-04-06 23:14:58 -07:00
repository Verify that SVN repository URI ends in a "/" 2011-05-18 10:37:53 -07:00
search Allow revisions to be edited from Maniphest 2011-05-16 15:31:46 -07:00
status/base Add /status/ 2011-04-08 11:13:51 -07:00
typeahead/controller Provide an activity log for login and administrative actions 2011-05-20 19:08:26 -07:00
uiexample Add missing includes from XHPAST parse bug. 2011-04-06 23:14:58 -07:00
xhpastview Add missing includes from XHPAST parse bug. 2011-04-06 23:14:58 -07:00
xhprof Lint fluff. 2011-02-06 12:58:01 -08:00