Skip to content

Add warning about untrusted input to the idna codec - #155475

Open
StanFromIreland wants to merge 1 commit into
python:mainfrom
StanFromIreland:encodings.idna
Open

Add warning about untrusted input to the idna codec#155475
StanFromIreland wants to merge 1 commit into
python:mainfrom
StanFromIreland:encodings.idna

Conversation

@StanFromIreland

Copy link
Copy Markdown
Member

See #151812 for more background.

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33990334 | 📁 Comparing 5ea75ea against main (b2c7b34)

  🔍 Preview build  

1 file changed
± library/codecs.html

Comment thread Doc/library/codecs.rst
| | | |
| | | .. warning:: |
| | | |
| | | This codec builds on |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to either link to or include the justification here that these algorithms were designed to process 63 or fewer octets? Maybe we can hint at a limit of 1,000 that we've set ourselves somehow, for users looking to adopt a limit?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to either link to or include the justification here that these algorithms were designed to process 63 or fewer octets?

Hmm, any suggestions as to where exactly we could link? I fear issues/PR might be too "busy" for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants