Bug 971039

Summary: [WEB UI] Zip code accepting Special character and UTF-8 string.
Product: [Fedora] Fedora Reporter: Varun Mylaraiah <mvarun>
Component: freeipaAssignee: Rob Crittenden <rcritten>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 19CC: abokovoy, jgalipea, mkosek, mvarun, nsoman, rcritten, ssorce
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-05 14:23:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Special characters Zip code none

Description Varun Mylaraiah 2013-06-05 14:02:58 UTC
Created attachment 757204 [details]
Special characters Zip code

Description of problem:
Zip code accept all type of characters.

Version-Release number of selected component (if applicable):
freeipa-server-3.2.99-0.20130604T1024Zgite31eea3.fc19.x86_64

How reproducible:
always

Steps to Reproduce:
1.add user
2.go to user setting then add Zip
3.

Actual results:
accepting special characters.

Expected results:
Zip field should accepts only numeric and alphanumeric(for Canada)

Additional info:
1.I have attached screenshot
2.http://en.wikipedia.org/wiki/List_of_postal_codes_in_Canada

Comment 1 Simo Sorce 2013-06-05 14:06:59 UTC
This product can be used internationally so we can't arbitrarily restrict postal codes to one nation's specification.

I propose WONTFIX here.

Comment 2 Martin Kosek 2013-06-05 14:23:10 UTC
I agree. I do not see point in giving arbitrary strict validation on these fields.

Canada is not the only country, I would not want to limit other countries who may potentially have UTF characters in this general field.

Closing as WONTFIX as Simo proposed.