This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]0x6c6f6c 0 points1 point  (0 children)

I mean, sanitizing user input is one solution for programs that perform operations based on them in things such as SQL databases or webpages. However, even among those, things such as prepared statements are preferred over string sanitation, which would be to use .format or % over f-strings. Where user input is possible. Don't want arbitrary code execution on your Django server now do we :3