Skip to content

Commit 888b4c8

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 b123403 commit 888b4c8

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
@@ -170,7 +170,7 @@ The `compliant01.py` code example is using `sqlite3.cursor.execute(get_values, d
170170

171171
* Is limited to a single-line query to protect against multi-line attacks.
172172

173-
The `compliant01.py` code is also providing variable type hints in its methods such as `name: str`. The `add_student` method is now storing the whole length of the string `"Robert'); DROP TABLE students;--"`.Input sanitation as described in separate rules would have to be added.
173+
The `compliant01.py` code is also providing variable type hints in its methods such as `name: str`. The `add_student` method is now storing the whole length of the string `"Robert'); DROP TABLE students;--"`. Input sanitation as described in separate rules would have to be added.
174174

175175
>[!NOTE]
176176
>

0 commit comments

Comments
 (0)