[Tickets #14235] Extend regex for phone number validation with no-break space

noreply at bugs.horde.org noreply at bugs.horde.org
Mon Feb 1 14:52:35 UTC 2016


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: https://bugs.horde.org/ticket/14235
------------------------------------------------------------------------------
  Ticket           | 14235
  Erstellt Von     | marth at tsvschlieben.de
  Zusammenfassung  | Extend regex for phone number validation with no-break
                   | space
  Warteschlange    | Turba
  Version          | FRAMEWORK_5_2
  Typ              | Enhancement
  Status           | New
  Priorität        | 1. Low
  Milestone        |
  Patch            |
  Zuständige       |
------------------------------------------------------------------------------


marth at tsvschlieben.de (2016-02-01 14:52) hat geschrieben:

iOS uses no-break spaces (U+00A0) in phone numbers. After syncing your  
contacts to horde, this leads always to an error message ("You must  
enter a valid phone number, digits only with an optional '+' for the  
international dialing prefix.") when you try to edit a contact in Turba.
Extending the validation regex to something like '/^\+?[\d()\-\/.  
\x{00A0}]*$/u' in Horde/Form/Type.php might solve the problem.





More information about the bugs mailing list