Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6d5a8e4

Browse files
committed
Python: Fix typos
1 parent c1d073a commit 6d5a8e4

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

python/ql/src/Security/CWE-079/Jinja2WithoutEscaping.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import python
1616
* https://jinja.palletsprojects.com/en/2.11.x/api/#jinja2.Environment
1717
* https://jinja.palletsprojects.com/en/2.11.x/api/#jinja2.Template
1818
*
19-
* Although the docs doesn't say very clearly, autoescape is a valid arugment when constructing
19+
* Although the docs doesn't say very clearly, autoescape is a valid argument when constructing
2020
* a Template manually
2121
*
2222
* unsafe_tmpl = Template('Hello {{ name }}!')

python/ql/src/Security/CWE-089/SqlInjection.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class SQLInjectionConfiguration extends TaintTracking::Configuration {
3232

3333
/* Additional configuration to support tracking of DB objects. Connections, cursors, etc.
3434
* Without this configuration (or the LegacyConfiguration), the pattern of
35-
* `any(MyTaintKind k).tains(control_flow_node)` used in DbConnectionExecuteArgument would not work.
35+
* `any(MyTaintKind k).taints(control_flow_node)` used in DbConnectionExecuteArgument would not work.
3636
*/
3737
class DbConfiguration extends TaintTracking::Configuration {
3838
DbConfiguration() { this = "DB configuration" }

python/ql/src/semmle/python/objects/ObjectAPI.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ class Value extends TObject {
125125
result = this.(ObjectInternal).booleanValue()
126126
}
127127

128-
/** Gets the boolean interpretation of this value, only if we can determine the result preciely.
128+
/** Gets the boolean interpretation of this value, only if we can determine the result precisely.
129129
* The result can be `none()`, but never both `true` and `false`.
130130
*/
131131
boolean getDefiniteBooleanValue() {

0 commit comments

Comments
 (0)