Opened 2 years ago

Closed 2 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 Changed 2 years ago by kix

  • Needs documentation unset
  • Needs tests set
  • Patch needs improvement unset

comment:2 Changed 2 years ago by aaugustin

  • Keywords localflavorsplit added
  • Resolution set to invalid
  • Status changed from new to closed

django.contrib.localflavor is 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!

Note: See TracTickets for help on using tickets.
Back to Top