Skip to content

Commit f2e7746

Browse files
myterongkunz
andauthored
Update docs/Secure-Coding-Guide-for-Python/CWE-707/CWE-89/README.md
Co-authored-by: Georg Kunz <[email protected]> Signed-off-by: myteron <[email protected]>
1 parent 888b4c8 commit f2e7746

File tree

1 file changed

+1
-1
lines changed
  • docs/Secure-Coding-Guide-for-Python/CWE-707/CWE-89

1 file changed

+1
-1
lines changed

docs/Secure-Coding-Guide-for-Python/CWE-707/CWE-89/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ The `compliant01.py` code is also providing variable type hints in its methods s
175175
>[!NOTE]
176176
>
177177
> * Type hints do not prevent simple string injections at runtime. They only help prevent coding mistakes when used with a special linter at design time.
178-
> * The `sqlite3.cursor.executescript()` is specifically designed to prohibit printing the output. That is to prevent an attacker from exploring the database back-end layout.
178+
> * The `sqlite3.cursor.executescript()` method is specifically designed to prohibit printing the output. That is to prevent an attacker from exploring the database back-end layout.
179179
> * Production code must use logging that avoids exposing sensitive data.
180180

181181
[*compliant01.py:*](compliant01.py)

0 commit comments

Comments
 (0)