We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65c7ad9 commit 757fa24Copy full SHA for 757fa24
grails-bootstrap/src/main/groovy/org/codehaus/groovy/grails/io/support/IOUtils.java
@@ -367,7 +367,7 @@ private static SAXParserFactory createParserFactory() throws ParserConfiguration
367
saxParserFactory.setValidating(false);
368
369
try {
370
- saxParserFactory.setFeature("http://apache.org/xml/features/disallow-doctype-decl", false);
+ saxParserFactory.setFeature("http://apache.org/xml/features/disallow-doctype-decl", true);
371
} catch (Exception pce) {
372
// ignore, parser doesn't support
373
}
0 commit comments