Skip to content

Commit 8f6df42

Browse files
committed
XMLFactorySAX secure version #87
1 parent c2bf446 commit 8f6df42

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Added
11+
12+
- XMLFactorySAX.newInstanceSecure() disabling external entities <https://github.com/fugerit-org/fj-lib/issues/87>
13+
1014
### Changed
1115

1216
- Added 'ubuntu-24.04-arm' runner to compatibility workdlow

fj-core/src/main/java/org/fugerit/java/core/xml/sax/XMLFactorySAX.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public static XMLFactorySAX newInstanceSecure(boolean validating, boolean namesp
7676
return new XMLFactorySAX( disableExternalEntity( init( validating, namespaceAware ) ) );
7777
}
7878

79-
public static XMLFactorySAX newInstance(boolean validating, boolean namespaceAware) throws XMLException {
79+
public static XMLFactorySAX newInstance(boolean validating, boolean namespaceAware) {
8080
return new XMLFactorySAX( init( validating, namespaceAware ) );
8181
}
8282

0 commit comments

Comments
 (0)