@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Probably fix cross-origin font requests in IE

Summary: Ref T8013.

Test Plan: no u

Reviewers: chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T8013

Differential Revision: https://secure.phabricator.com/D12684

+9 -2
+9 -2
src/applications/celerity/controller/CelerityResourceController.php
··· 101 101 $response->setMimeType($type_map[$type]); 102 102 103 103 // NOTE: This is a piece of magic required to make WOFF fonts work in 104 - // Firefox. Possibly we should generalize this. 105 - if ($type == 'woff' || $type == 'woff2') { 104 + // Firefox and IE. Possibly we should generalize this more. 105 + 106 + $cross_origin_types = array( 107 + 'woff' => true, 108 + 'woff2' => true, 109 + 'eot' => true, 110 + ); 111 + 112 + if (isset($cross_origin_types[$type])) { 106 113 // We could be more tailored here, but it's not currently trivial to 107 114 // generate a comprehensive list of valid origins (an install may have 108 115 // arbitrarily many Phame blogs, for example), and we lose nothing by