mirror of
https://github.com/python/cpython.git
synced 2026-05-04 09:31:02 +00:00
gh-111264: Add a note about untrusted input to tomllib docs (GH-146209)
Co-authored-by: Stan Ulbrych <stan@python.org>
This commit is contained in:
parent
7686abe063
commit
9d41e2a534
1 changed files with 6 additions and 0 deletions
|
|
@ -19,6 +19,12 @@ support writing TOML.
|
|||
Added TOML 1.1.0 support.
|
||||
See the :ref:`What's New <whatsnew315-tomllib-1-1-0>` for details.
|
||||
|
||||
.. warning::
|
||||
|
||||
Be cautious when parsing data from untrusted sources.
|
||||
A malicious TOML string may cause the decoder to consume considerable
|
||||
CPU and memory resources.
|
||||
Limiting the size of data to be parsed is recommended.
|
||||
|
||||
.. seealso::
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue