| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1380,6 +1380,15 @@ encodings. | |||
| 1380 | 1380 | | | | :mod:`encodings.idna`. | | |
| 1381 | 1381 | | | | Only ``errors='strict'`` | | |
| 1382 | 1382 | | | | is supported. | | |
| 1383 | + | | | | | ||
| 1384 | + | | | .. warning:: | | ||
| 1385 | + | | | | | ||
| 1386 | + | | | This codec builds on | | ||
| 1387 | + | | | ``punycode``, whose | | ||
| 1388 | + | | | algorithms scale | | ||
| 1389 | + | | | poorly, so limit the | | ||
| 1390 | + | | | length of untrusted | | ||
| 1391 | + | | | input. | | ||
| 1383 | 1392 | +--------------------+---------+---------------------------+ | |
| 1384 | 1393 | | mbcs | ansi, | Windows only: Encode the | | |
| 1385 | 1394 | | | dbcs | operand according to the | | |
@@ -1624,6 +1633,11 @@ Applications) and :rfc:`3492` (Nameprep: A Stringprep Profile for | |||
| 1624 | 1633 | Internationalized Domain Names (IDN)). It builds upon the ``punycode`` encoding | |
| 1625 | 1634 | and :mod:`stringprep`. | |
| 1626 | 1635 | ||
| 1636 | + .. warning:: | ||
| 1637 | + | ||
| 1638 | + This module builds on ``punycode``, whose algorithms scale poorly, so limit | ||
| 1639 | + the length of untrusted input. | ||
| 1640 | + | ||
| 1627 | 1641 | If you need the IDNA 2008 standard from :rfc:`5891` and :rfc:`5895`, use the | |
| 1628 | 1642 | third-party :pypi:`idna` module. | |
| 1629 | 1643 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments