[imp] Search results of more than 100 messages cause 'error communicating with the server'

Michael M Slusarz slusarz at horde.org
Wed Aug 27 19:09:50 UTC 2014


Quoting Jens Pranaitis <pranaitis at phil.hhu.de>:

>> FYI to others: this turned out to be a bug with Debian (and Ubuntu's)
>> PHP package.  Namely, the JSON-C package is broken.  Very frustrating
>> since there is nothing wrong with *PHP's* JSON decoding code.
>
> Could you elaborate on this? Is this  
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687269 ? I think  
> I'm seeing the same issue with some users loading messages from  
> search results.

Debian has an issue with the line "Use this software for good, not  
evil" in the source code for the PHP JSON code.  (This is real.  I am  
not making this up.)  So they replaced this stable code that works  
perfectly fine with a replacement that is broken in several areas -  
mainly dealing with null characters.  We use null characters a bunch  
in IMP data for technical reasons I won't go into here.  So Debian  
ships with broken JSON code with known bugs (which, I should mention,  
have been known for a year and *still* aren't fixed).

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the imp mailing list