Skip to content

Commit bf214ac

Browse files
RasmusWLtausbn
andauthored
Python: Apply suggestions from code review
Co-authored-by: Taus <[email protected]>
1 parent 47f5c97 commit bf214ac

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

python/ql/src/semmle/python/security/dataflow/SqlInjection.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Provides a taint-tracking configuration for detecting "SQL Injection" vulnerabilities.
2+
* Provides a taint-tracking configuration for detecting "SQL injection" vulnerabilities.
33
*
44
* Note, for performance reasons: only import this file if
55
* `SqlInjection::Configuration` is needed, otherwise
@@ -11,13 +11,13 @@ import semmle.python.dataflow.new.DataFlow
1111
import semmle.python.dataflow.new.TaintTracking
1212

1313
/**
14-
* Provides a taint-tracking configuration for detecting "SQL Injection" vulnerabilities.
14+
* Provides a taint-tracking configuration for detecting "SQL injection" vulnerabilities.
1515
*/
1616
module SqlInjection {
1717
import SqlInjectionCustomizations::SqlInjection
1818

1919
/**
20-
* A taint-tracking configuration for detecting "SQL Injection" vulnerabilities.
20+
* A taint-tracking configuration for detecting "SQL injection" vulnerabilities.
2121
*/
2222
class Configuration extends TaintTracking::Configuration {
2323
Configuration() { this = "SqlInjection" }

python/ql/src/semmle/python/security/dataflow/SqlInjectionCustomizations.qll

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Provides default sources, sinks and sanitizers for detecting
3-
* "SQL Injection"
3+
* "SQL injection"
44
* vulnerabilities, as well as extension points for adding your own.
55
*/
66

@@ -12,27 +12,27 @@ private import semmle.python.dataflow.new.BarrierGuards
1212

1313
/**
1414
* Provides default sources, sinks and sanitizers for detecting
15-
* "SQL Injection"
15+
* "SQL injection"
1616
* vulnerabilities, as well as extension points for adding your own.
1717
*/
1818
module SqlInjection {
1919
/**
20-
* A data flow source for "SQL Injection" vulnerabilities.
20+
* A data flow source for "SQL injection" vulnerabilities.
2121
*/
2222
abstract class Source extends DataFlow::Node { }
2323

2424
/**
25-
* A data flow sink for "SQL Injection" vulnerabilities.
25+
* A data flow sink for "SQL injection" vulnerabilities.
2626
*/
2727
abstract class Sink extends DataFlow::Node { }
2828

2929
/**
30-
* A sanitizer for "SQL Injection" vulnerabilities.
30+
* A sanitizer for "SQL injection" vulnerabilities.
3131
*/
3232
abstract class Sanitizer extends DataFlow::Node { }
3333

3434
/**
35-
* A sanitizer guard for "SQL Injection" vulnerabilities.
35+
* A sanitizer guard for "SQL injection" vulnerabilities.
3636
*/
3737
abstract class SanitizerGuard extends DataFlow::BarrierGuard { }
3838

0 commit comments

Comments
 (0)