Skip to content

Commit

Permalink
PEP 675: use semicolon instead of comma (#2330)
Browse files Browse the repository at this point in the history
  • Loading branch information
pradeep90 authored Feb 16, 2022
1 parent 49ec965 commit f7bba01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pep-0675.rst
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ shell command:
subprocess.run(f"echo 'Hello {name}'", shell=True)

If user-controlled data is included in the command string, the code is
vulnerable to "command injection", i.e., an attacker can run malicious
vulnerable to "command injection"; i.e., an attacker can run malicious
commands. For example, a value of ``' && rm -rf / #`` would result in
the following destructive command being run:

Expand Down

0 comments on commit f7bba01

Please sign in to comment.