Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15293688
D8050.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
512 B
Referenced Files
None
Subscribers
None
D8050.id.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 6, 4:33 AM (2 h, 45 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7229555
Default Alt Text
D8050.id.diff (512 B)
Attached To
Mode
D8050: Disable SimpleXML entity loader in Phabricator
Attached
Detach File
Event Timeline
Log In to Comment