#31267: Missing tests cases for credential validation in URLs
-------------------------------------+-------------------------------------
Reporter: kinkerl | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Core (URLs) | Version: 2.0
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Description changed by kinkerl:
Old description:
> Hi,
> I had an issue with a behavior change introduced with commit
> cdcf4164bec9dc09465424d7042c3f9d4f0f1fdc. The commit changed the
> validation of credentials in URLs. This change was not fully covered by
> test cases and my existing objects now failed to validate.
>
> This is not a big issue as the change fixed an incorrect behavior. I
> would like to add test cases to cover the current new behavior so changes
> to the validation are known and intentional.
New description:
Hi,
I had an issue with a behavior change introduced with commit
cdcf4164bec9dc09465424d7042c3f9d4f0f1fdc. The commit changed the
validation of credentials in URLs. This change was not fully covered by
test cases and my existing objects now failed to validate. Before the
change, credentials in the form of `http://:[email protected]` where
valid.
This is not a big issue as the change fixed an incorrect behavior. I would
like to add test cases to cover the current new behavior so changes to the
validation are known and intentional.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/31267#comment:3>
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 on the web visit
https://groups.google.com/d/msgid/django-updates/065.2c63f480ed0349232f303a903968ee8b%40djangoproject.com.