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 07d00f6 commit 3e0eedcCopy full SHA for 3e0eedc
org.eclipse.jgit/src/org/eclipse/jgit/transport/AmazonS3.java
@@ -760,6 +760,15 @@ void list() throws IOException {
760
SAXParserFactory saxParserFactory = SAXParserFactory
761
.newInstance();
762
saxParserFactory.setNamespaceAware(true);
763
+ saxParserFactory.setFeature(
764
+ "http://xml.org/sax/features/external-general-entities", //$NON-NLS-1$
765
+ false);
766
767
+ "http://xml.org/sax/features/external-parameter-entities", //$NON-NLS-1$
768
769
770
+ "http://apache.org/xml/features/disallow-doctype-decl", //$NON-NLS-1$
771
+ true);
772
xr = saxParserFactory.newSAXParser().getXMLReader();
773
} catch (SAXException | ParserConfigurationException e) {
774
throw new IOException(
0 commit comments