Opened 4 years ago

Closed 4 years ago

#16338 closed Bug (fixed)

at.forms.ATZipCodeField accept invalid input

Reported by: BernhardEssl Owned by: BernhardEssl
Component: contrib.localflavor Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no


The austrian postal code is 4 digit long and the first digit can not be 0.

The accepts invalid inputs like 0123 or 0007.

I added a patch (code, doc and test).

Attachments (1)

localflavor_at_postal.diff (1.8 KB) - added by BernhardEssl 4 years ago.

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by BernhardEssl

comment:1 Changed 4 years ago by BernhardEssl

  • Needs documentation unset
  • Needs tests unset
  • Owner changed from nobody to BernhardEssl
  • Patch needs improvement unset
  • Status changed from new to assigned

comment:2 Changed 4 years ago by aaugustin

  • Easy pickings set
  • Triage Stage changed from Unreviewed to Accepted

comment:3 Changed 4 years ago by aaugustin

  • Triage Stage changed from Accepted to Ready for checkin

comment:4 Changed 4 years ago by ramiro

  • Resolution set to fixed
  • Status changed from assigned to closed

In [16447]:

Fixed #16338 -- Fixed Austrian postal codes validation. Thanks Bernhard Essl for the report and patch.

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