mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-104711: Add security warning to the CGIHTTPRequestHandler document (GH-115915)
(cherry picked from commit dac8ff4c40
)
This commit is contained in:
parent
f068522a3a
commit
b6077aaf12
1 changed files with 6 additions and 0 deletions
|
@ -502,6 +502,12 @@ the ``--cgi`` option::
|
|||
|
||||
python -m http.server --cgi
|
||||
|
||||
.. warning::
|
||||
|
||||
:class:`CGIHTTPRequestHandler` and the ``--cgi`` command line option
|
||||
are not intended for use by untrusted clients and may be vulnerable
|
||||
to exploitation. Always use within a secure environment.
|
||||
|
||||
.. _http.server-security:
|
||||
|
||||
Security Considerations
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue