This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients hroncok, kj, lemburg, mdk, serhiy.storchaka, vstinner
Date 2021-01-22.11:39:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1611315554.18.0.638095738943.issue42988@roundup.psfhosted.org>
In-reply-to
Content
> Python's http.server at least warns about this in the docs:
> https://docs.python.org/3/library/http.server.html
> and limits the serving to the current dir (and subdirs).

I would be fine with a warning in the pydoc documentation, but I dislike warnings display on the command line. When I see such warning, I feel that the machine considers that I'm dumb and I have no idea of what I am doing.

If it's unsafe, can we make it safe by default?
History
Date User Action Args
2021-01-22 11:39:14vstinnersetrecipients: + vstinner, lemburg, serhiy.storchaka, mdk, hroncok, kj
2021-01-22 11:39:14vstinnersetmessageid: <1611315554.18.0.638095738943.issue42988@roundup.psfhosted.org>
2021-01-22 11:39:14vstinnerlinkissue42988 messages
2021-01-22 11:39:14vstinnercreate