Closed
Bug 578823
Opened 14 years ago
Closed 13 years ago
Block phone numbers from being submitted onto Input
Categories
(Input :: General, enhancement)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: aakashd, Unassigned)
Details
Uhh... http://input.mozilla.com/search/?q=stephen&product=firefox We should parse for phone number syntax. Some examples of how to do this can be found at http://diveintopython.org/regular_expressions/phone_numbers.html
Comment 1•14 years ago
|
||
Really? I think we are getting into a spiral of blocking random stuff now. You know that American phone numbers have a different format than most others in the world?
Reporter | ||
Comment 2•14 years ago
|
||
Ah, I should have been a bit more clear. We shouldn't block all of those instances, but a few more common ones that we're sure won't result in useful types of feedback being blocked. For example, (xxx) xxx-xxxx or xxx-xxx-xxxx. Can you think of a useful form of feedback that might be blocked by the phone number syntax mentioned above?
Comment 3•14 years ago
|
||
(In reply to comment #2) > Can you think of a useful form of feedback that might be blocked by the phone > number syntax mentioned above? Not really, but I do think people who ignore the current warning will probably not adhere to a common spelling of their phone number. Likewise, given we are now localizing things, protecting against US-only numbers only seems silly. In short, phone numbers are a case I wouldn't worry about currently.
Reporter | ||
Comment 4•14 years ago
|
||
Aye, I've thought about the l10n piece before and filed the bug even with that use case. You're right though, the cost is a bit too high in terms of investigation. I'm ok with lowering this until we can find a proper implementation for it. We still have the warning message on the submission forms in the meantime.
Priority: P2 → --
Target Milestone: 1.5 → ---
Updated•13 years ago
|
Severity: normal → enhancement
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•13 years ago
|
Component: Input → General
Product: Webtools → Input
You need to log in
before you can comment on or make changes to this bug.
Description
•