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 joseph.hackman
Recipients ablack, agnosticdev, joseph.hackman, r.david.murray, sdbowman
Date 2020-07-05.00:22:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1593908573.86.0.24741161469.issue32958@roundup.psfhosted.org>
In-reply-to
Content
According to the DNS standard, hostnames with more than 63 characters per label (the sections between .) are not allowed [https://tools.ietf.org/html/rfc1035#section-2.3.1].

That said, enforcing that at the codec level might be the wrong choice. I threw together a quick patch moving the limits up to 250, and nothing blew up. It's unclear what the general usefulness of such a change would be, since DNS servers probably couldn't handle those requests anyway.

As for the original issue, if anybody is still doing something like that, could they provide a full example URL? I was unable to reproduce on HTTP (failed in a different place), or FTP.
History
Date User Action Args
2020-07-05 00:22:53joseph.hackmansetrecipients: + joseph.hackman, r.david.murray, agnosticdev, ablack, sdbowman
2020-07-05 00:22:53joseph.hackmansetmessageid: <1593908573.86.0.24741161469.issue32958@roundup.psfhosted.org>
2020-07-05 00:22:53joseph.hackmanlinkissue32958 messages
2020-07-05 00:22:53joseph.hackmancreate