* https://datatracker.ietf.org/doc/html/rfc4122
* https://github.com/django/django/blob/main/django/urls/converters.py#L26
--
Ticket URL: <https://code.djangoproject.com/ticket/33164>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Old description:
> According to the RFC4122 A Universally Unique IDentifier (UUID) URN
> Namespace, the formal definition of an UUID string includes hexadecimal
> digits in uppercase. But the current implementation of the UUID URL
> converter only supports lowercase digits (from a to f).
>
> * https://datatracker.ietf.org/doc/html/rfc4122
> *
> https://github.com/django/django/blob/main/django/urls/converters.py#L26
New description:
According to the RFC4122 A Universally Unique IDentifier (UUID) URN
Namespace, the formal definition of an UUID string includes hexadecimal
digits in uppercase. But the current implementation of the UUID URL
converter only supports lowercase digits (from a to f).
Related PR: https://github.com/django/django/pull/14928
* https://datatracker.ietf.org/doc/html/rfc4122
* https://github.com/django/django/blob/main/django/urls/converters.py#L26
--
--
Ticket URL: <https://code.djangoproject.com/ticket/33164#comment:1>
* status: new => closed
* type: Bug => New feature
* resolution: => wontfix
Comment:
Thanks for this ticket, however this is a
[https://docs.djangoproject.com/en/3.2/topics/http/urls/#path-converters
document] and intended behavior which prevents multiple URLs from mapping
to the same page:
> `uuid` - Matches a formatted UUID. To prevent multiple URLs from mapping
to the same page, dashes must be included and **letters must be
lowercase**. For example, `075194d3-6885-417e-a8a8-6c931e272f00`. Returns
a UUID instance.
See #28883 for a related discussion.
--
Ticket URL: <https://code.djangoproject.com/ticket/33164#comment:2>