Skip to content

Commit 43225ce

Browse files
myterons19110
andauthored
Update docs/Secure-Coding-Guide-for-Python/CWE-703/CWE-252/README.md
Co-authored-by: Hubert Daniszewski <[email protected]> Signed-off-by: myteron <[email protected]>
1 parent ccf314d commit 43225ce

File tree

1 file changed

+1
-1
lines changed
  • docs/Secure-Coding-Guide-for-Python/CWE-703/CWE-252

1 file changed

+1
-1
lines changed

docs/Secure-Coding-Guide-for-Python/CWE-703/CWE-252/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ print(my_string)
3131

3232
```
3333

34-
Despite calling `sanitize_string()`, the value of my_string remains unchanged because the return value of str.replace() has been ignored.
34+
Despite calling `sanitize_string()`, the value of my_string remains "unsafe string" instead of the expected "very safe string" as the return value of `str.replace()` has been ignored.
3535

3636
## Compliant Solution - Immutable objects
3737

0 commit comments

Comments
 (0)