[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/resources/sql/patches/ -> 105.mimetype.sql (source)

   1  /* Prior to D1615, we used the raw output of `file` to determine mime types,
   2     without stripping carriage returns. This creates Content-Type headers
   3     which are blocked by response-splitting protections introduced in D1564. */
   4  UPDATE {$NAMESPACE}_file.file SET mimeType = TRIM(BOTH "\n" FROM mimeType);


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1