Skip to content

Commit df8e0fc

Browse files
committed
Python: Minor fixup of qldoc
1 parent c0a6f9f commit df8e0fc

File tree

1 file changed

+10
-2
lines changed
  • python/ql/src/experimental/semmle/python/frameworks

1 file changed

+10
-2
lines changed

python/ql/src/experimental/semmle/python/frameworks/Xml.qll

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,11 @@ private module SaxBasedParsing {
153153
result = saxParserSetFeatureStateArgBacktracker(DataFlow::TypeBackTracker::end(), arg)
154154
}
155155

156-
/** Gets a reference to a XML sax parser that has `feature_external_ges` turned on */
156+
/**
157+
* Gets a reference to a XML sax parser that has `feature_external_ges` turned on.class
158+
*
159+
* See https://docs.python.org/3/library/xml.sax.handler.html#xml.sax.handler.feature_external_ges
160+
*/
157161
private DataFlow::Node saxParserWithFeatureExternalGesTurnedOn(DataFlow::TypeTracker t) {
158162
t.start() and
159163
exists(SaxParserSetFeatureCall call |
@@ -189,7 +193,11 @@ private module SaxBasedParsing {
189193
)
190194
}
191195

192-
/** Gets a reference to a XML sax parser that has been made unsafe for `kind`. */
196+
/**
197+
* Gets a reference to a XML sax parser that has `feature_external_ges` turned on.class
198+
*
199+
* See https://docs.python.org/3/library/xml.sax.handler.html#xml.sax.handler.feature_external_ges
200+
*/
193201
DataFlow::Node saxParserWithFeatureExternalGesTurnedOn() {
194202
result = saxParserWithFeatureExternalGesTurnedOn(DataFlow::TypeTracker::end())
195203
}

0 commit comments

Comments
 (0)