You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Secure-Coding-Guide-for-Python/CWE-707/CWE-89/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -175,7 +175,7 @@ The `compliant01.py` code is also providing variable type hints in its methods s
175
175
>[!NOTE]
176
176
>
177
177
>* 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.
179
179
>* Production code must use logging that avoids exposing sensitive data.
0 commit comments