#32567: Issues with ":" and "|" characters in URLs when using
LiveServerTestCase on
Windows
-------------------------------------+-------------------------------------
Reporter: Tim G | Owner: Sebastian
| Dirndorfer
Type: Bug | Status: assigned
Component: Testing framework | Version: 3.1
Severity: Normal | Resolution:
Keywords: windows, | Triage Stage: Accepted
liveservertestcase, path |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Sebastian Dirndorfer):
Thanks Tim for the great report! I could reproduce the bug on Windows 11
64 bit with Python 3.13 and the current django dev version
(6.1.dev20251208202108).
Regarding Carltons Question: When running {{{runserver}}}, I am able to
enter a path with special characters in it. So it's only occuring when
using the {{{LiveServerTestCase}}}.
If I understand correctly, there was already a fix in
https://github.com/django/django/pull/14146 ?
That fix worked for me but I only changed the logic of the "os.name" check
in the "_should_handle" method compared to the original PR, so that
special characters are only checked on Windows systems.
This is my first contribution here (and it's also based on Tim's work) and
I hope I am doing this right. I will be opening a PR now and add the link
here.
--
Ticket URL: <https://code.djangoproject.com/ticket/32567#comment:15>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019affc3b53c-64f5a3a5-23a4-44f5-ad45-034deb4ac1b2-000000%40eu-central-1.amazonses.com.