mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-18 17:47:05 +01:00
updates to resolve issue #801
This commit is contained in:
@@ -159,7 +159,8 @@ public class XmlInputStream extends FilterInputStream {
|
||||
// Keep it.
|
||||
pushBack.append(code);
|
||||
} else {
|
||||
throw new IOException("Invalid/Unknown reference '&" + reference + ";'");
|
||||
// invalid entity. Encode the & and append the sequence of chars.
|
||||
pushBack.append("&").append(reference).append((char) ch);
|
||||
}
|
||||
} else {
|
||||
// Did not terminate properly!
|
||||
|
||||
Reference in New Issue
Block a user