Skip to content

Commit

Permalink
closes bpo-40774: Fix docs indentation for asyncio.create_subprocess_…
Browse files Browse the repository at this point in the history
…shell() (pythonGH-20403)
  • Loading branch information
sth authored May 26, 2020
1 parent f7b1e46 commit 4a0ac42
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Doc/library/asyncio-subprocess.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,14 @@ Creating Subprocesses
See the documentation of :meth:`loop.subprocess_shell` for other
parameters.

.. important::

It is the application's responsibility to ensure that all whitespace and
special characters are quoted appropriately to avoid `shell injection
<https://en.wikipedia.org/wiki/Shell_injection#Shell_injection>`_
vulnerabilities. The :func:`shlex.quote` function can be used to properly
escape whitespace and special shell characters in strings that are going
to be used to construct shell commands.
.. important::

It is the application's responsibility to ensure that all whitespace and
special characters are quoted appropriately to avoid `shell injection
<https://en.wikipedia.org/wiki/Shell_injection#Shell_injection>`_
vulnerabilities. The :func:`shlex.quote` function can be used to properly
escape whitespace and special shell characters in strings that are going
to be used to construct shell commands.

.. deprecated-removed:: 3.8 3.10

Expand Down

0 comments on commit 4a0ac42

Please sign in to comment.