Opened 13 years ago
Closed 13 years ago
#18910 closed Bug (invalid)
Russian phone numbers may be validated improperly
| Reported by: | kix | Owned by: | nobody |
|---|---|---|---|
| Component: | contrib.localflavor | Version: | 1.4 |
| Severity: | Normal | Keywords: | validation, forms, localflavorsplit |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | yes | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
The regex in django/contrib/localflavor/ru/forms.py should be tested. phone_digits_re regex looks a bit improper.
Working on this ticket in my Github fork, will issue a PR when complete.
Change History (2)
comment:1 by , 13 years ago
| Needs tests: | set |
|---|
comment:2 by , 13 years ago
| Keywords: | localflavorsplit added |
|---|---|
| Resolution: | → invalid |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
django.contrib.localflavoris now deprecated — see https://docs.djangoproject.com/en/dev/ref/contrib/localflavor/A repository was created for each localflavor at https://github.com/django/django-localflavor-? (Replace with the country code.)
If you're still interested in this ticket, could you create a pull request on that repository?
Sorry for not resolving this issue earlier, and thanks for your input!