Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14908810
D8049.id18204.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
473 B
Referenced Files
None
Subscribers
None
D8049.id18204.diff
View Options
Index: scripts/__init_script__.php
===================================================================
--- scripts/__init_script__.php
+++ scripts/__init_script__.php
@@ -59,6 +59,11 @@
date_default_timezone_set('UTC');
}
+ // Disable the insanely dangerous XML entity loader by default.
+ if (function_exists('libxml_disable_entity_loader')) {
+ libxml_disable_entity_loader(true);
+ }
+
// Now, load libphutil.
$root = dirname(dirname(__FILE__));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 11, 6:15 PM (9 h, 19 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7123095
Default Alt Text
D8049.id18204.diff (473 B)
Attached To
Mode
D8049: Disable XML entity loader by default in libphutil
Attached
Detach File
Event Timeline
Log In to Comment