Skip to content

Commit 8636a50

Browse files
Fix qldoc + remove deprecation from experimental concepts (as they are still used in another experimental query)
1 parent fa28d94 commit 8636a50

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

python/ql/lib/semmle/python/Concepts.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,7 @@ module Http {
11101110
/** Provides a class for modeling bulk header writes on HTTP responses. */
11111111
module ResponseHeaderBulkWrite {
11121112
/**
1113-
*sets multiple headers in an HTTP response using a dict.
1113+
* A data-flow node that sets multiple headers in an HTTP response using a dict.
11141114
*
11151115
* Extend this class to model new APIs. If you want to refine existing API models,
11161116
* extend `ResponseHeaderBulkWrite` instead.

python/ql/src/experimental/semmle/python/Concepts.qll

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,14 +217,14 @@ class SqlEscape extends DataFlow::Node instanceof SqlEscape::Range {
217217
}
218218

219219
/** Provides classes for modeling HTTP Header APIs. */
220-
deprecated module HeaderDeclaration {
220+
module HeaderDeclaration {
221221
/**
222222
* A data-flow node that collects functions setting HTTP Headers.
223223
*
224224
* Extend this class to model new APIs. If you want to refine existing API models,
225225
* extend `HeaderDeclaration` instead.
226226
*/
227-
abstract deprecated class Range extends DataFlow::Node {
227+
abstract class Range extends DataFlow::Node {
228228
/**
229229
* Gets the argument containing the header name.
230230
*/
@@ -242,8 +242,10 @@ deprecated module HeaderDeclaration {
242242
*
243243
* Extend this class to refine existing API models. If you want to model new APIs,
244244
* extend `HeaderDeclaration::Range` instead.
245+
*
246+
* Exists as `Http::Server::ResponseHeaderWrite` in the main concepts library.
245247
*/
246-
deprecated class HeaderDeclaration extends DataFlow::Node instanceof HeaderDeclaration::Range {
248+
class HeaderDeclaration extends DataFlow::Node instanceof HeaderDeclaration::Range {
247249
/**
248250
* Gets the argument containing the header name.
249251
*/

0 commit comments

Comments
 (0)