diff --git a/.github/no-response.yml b/.github/no-response.yml index 8e27c2510..18dda67f4 100644 --- a/.github/no-response.yml +++ b/.github/no-response.yml @@ -1,7 +1,7 @@ # Configuration for probot-no-response - https://github.com/probot/no-response # Number of days of inactivity before an Issue is closed for lack of response -daysUntilClose: 14 +daysUntilClose: 16 # Label requiring a response responseRequiredLabel: more-information-required # Comment to post when closing an Issue for lack of response. Set to `false` to disable diff --git a/lib/DocumentToText.php b/lib/DocumentToText.php index 05df242ab..36db7c30f 100755 --- a/lib/DocumentToText.php +++ b/lib/DocumentToText.php @@ -412,6 +412,7 @@ private function readZippedXML($archiveFile, $dataFile) $zip->close(); // Load XML from a string // Skip errors and warnings + libxml_disable_entity_loader(true); $xml = new DOMDocument(); $xml->loadXML($data, LIBXML_NOENT | LIBXML_XINCLUDE | LIBXML_NOERROR | LIBXML_NOWARNING); $raw_text = $xml->saveXML();