[Tickets #11014] Re: Contact data damaged when adding contact to address book

bugs at horde.org bugs at horde.org
Wed Feb 22 15:12:59 UTC 2012


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/11014
------------------------------------------------------------------------------
  Ticket             | 11014
  Updated By         | Jan Schneider <jan at horde.org>
  Summary            | Contact data damaged when adding contact to address
                     | book
  Queue              | Turba
  Version            | 3.0.11
  Type               | Bug
-State              | Unconfirmed
+State              | Feedback
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Jan Schneider <jan at horde.org> (2012-02-22 16:12) wrote:

> But in this case the problem is to find three substrings separated  
> by space(s). explode() should be enough?
No, because that would take away flexibility in the parsing rules. And  
we are using the same strings for formatting and parsing composite  
strings. The formatting rules can be specified arbitrarily, whitespace  
splitting is not suffiecient. sscanf() is the only available  
counterpart method to printf formatting. And we probably don't want to  
implement sscanf() in PHP.





More information about the bugs mailing list