mirror of https://github.com/python/cpython
gh-104711: Add security warning to the CGIHTTPRequestHandler document (GH-115915)
This commit is contained in:
parent
05b04903a1
commit
dac8ff4c40
|
@ -520,6 +520,12 @@ the ``--cgi`` option::
|
|||
:mod:`http.server` command line ``--cgi`` support is being removed
|
||||
because :class:`CGIHTTPRequestHandler` is being removed.
|
||||
|
||||
.. 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…
Reference in New Issue