[Tickets #10618] Re: IMP - error logged for htmlspecialchars

bugs at horde.org bugs at horde.org
Tue Oct 11 03:52:44 UTC 2011


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

Ticket URL: http://bugs.horde.org/ticket/10618
------------------------------------------------------------------------------
  Ticket             | 10618
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | IMP - error logged for htmlspecialchars
  Queue              | Horde Groupware Webmail Edition
  Version            | 4.0.3
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2011-10-10 21:52) wrote:

> Oct 10 14:29:16 skadi HORDE4: [imp] 1?019 KB [pid 21452 on line 449  
> of  
> "/var/www/www.agotnes.com/htdocs/horde4/imp/lib/Views/ListMessages.php"]
> Oct 10 14:29:16 skadi HORDE4: [imp] PHP ERROR: htmlspecialchars():  
> Invalid multibyte sequence in argument [pid 21452 on line 450 of  
> "/var/www/www.agotnes.com/htdocs/horde4/imp/lib/Views/ListMessages.php"]

What is the thousands separator in the locale you are using?  Is it a  
multibyte character?  If so, I think we are running into a bug with  
number_format() - according to documentation, before PHP 5.4, only the  
first character of a separator is used.  Thus, if a multibyte  
character is being used, it will be chopped off after the first byte.





More information about the bugs mailing list