Skip to content

Commit c33d392

Browse files
litetexAudricV
authored andcommitted
1 parent fffbbee commit c33d392

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/dashmanifestcreators/YoutubeDashManifestCreatorsUtils.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -696,11 +696,11 @@ public static Response getInitializationResponse(@Nonnull String baseStreamingUr
696696
}
697697

698698
/**
699-
* Generate a new {@link DocumentBuilder} secured from XEE attacks, on platforms which
699+
* Generate a new {@link DocumentBuilder} secured from XXE attacks, on platforms which
700700
* support setting {@link XMLConstants#ACCESS_EXTERNAL_DTD} and
701701
* {@link XMLConstants#ACCESS_EXTERNAL_SCHEMA} in {@link DocumentBuilderFactory} instances.
702702
*
703-
* @return an instance of {@link Document} secured against XEE attacks on supported platforms,
703+
* @return an instance of {@link Document} secured against XXE attacks on supported platforms,
704704
* that should then be convertible to an XML string without security problems
705705
*/
706706
private static Document newDocument() throws ParserConfigurationException {
@@ -718,13 +718,13 @@ private static Document newDocument() throws ParserConfigurationException {
718718
}
719719

720720
/**
721-
* Generate a new {@link TransformerFactory} secured from XEE attacks, on platforms which
721+
* Generate a new {@link TransformerFactory} secured from XXE attacks, on platforms which
722722
* support setting {@link XMLConstants#ACCESS_EXTERNAL_DTD} and
723723
* {@link XMLConstants#ACCESS_EXTERNAL_SCHEMA} in {@link TransformerFactory} instances.
724724
*
725725
* @param document the document to convert, which must have been created using
726-
* {@link #newDocument()} to properly prevent XEE attacks
727-
* @return the document converted to an XML string, making sure there can't be XEE attacks
726+
* {@link #newDocument()} to properly prevent XXE attacks
727+
* @return the document converted to an XML string, making sure there can't be XXE attacks
728728
*/
729729
// Sonar warning is suppressed because it is still shown even if we apply its solution
730730
@SuppressWarnings("squid:S2755")

0 commit comments

Comments
 (0)