Page MenuHomePhabricator

D8050.diff
No OneTemporary

D8050.diff

Index: support/PhabricatorStartup.php
===================================================================
--- support/PhabricatorStartup.php
+++ support/PhabricatorStartup.php
@@ -280,6 +280,11 @@
private static function setupPHP() {
error_reporting(E_ALL | E_STRICT);
ini_set('memory_limit', -1);
+
+ // If we have libxml, disable the incredibly dangerous entity loader.
+ if (function_exists('libxml_disable_entity_loader')) {
+ libxml_disable_entity_loader(true);
+ }
}
/**

File Metadata

Mime Type
text/plain
Expires
Thu, Mar 6, 4:33 AM (2 h, 33 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7229555
Default Alt Text
D8050.diff (512 B)

Event Timeline