[Django] #33877: Fixed port's problem in URLValidator

4 views
Skip to first unread message

Django

unread,
Jul 29, 2022, 2:58:49 PM7/29/22
to django-...@googlegroups.com
#33877: Fixed port's problem in URLValidator
----------------------------------------+------------------------
Reporter: izveigor | Owner: nobody
Type: Bug | Status: new
Component: Core (Other) | Version: dev
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
----------------------------------------+------------------------
A port of internet address (TCP and UDP) is a 16-bit number (0-65535) by
RFC 1085 sec. 5.1 (https://datatracker.ietf.org/doc/rfc1085/).
Django's URLValidator accepts addresses with the port more than 65535 (For
example, http://example:78000/).
This patch fixed that problem.

--
Ticket URL: <https://code.djangoproject.com/ticket/33877>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Reply all
Reply to author
Forward
0 new messages