[ABE.pm] beer good. php bad.

Ricardo SIGNES rjbs-perl-abe at lists.manxome.org
Tue Nov 28 15:20:36 PST 2006


Seriously, I cannot stress enough how obnoxious today's PHP problems were.
Basically, something was being passed a string, in a cookie, with "+" in it,
and PHP decided, somewhere along the way, to URI decode that into a space.
Then, since the string was already encoded in some native format (which
had generated the plus to begin with) it could no longer be decoded.  Result?
Some unknown percentage of users couldn't log in to Squirrelmail.

It took me hours to find the problem (way longer than it should have, in
retrospect), but I think it solved another long-standing bug, so... hooray!

It's days like this that remind me of a simple fact of life:  beer good, PHP
bad.

To celebrate how good beer is, let's grab some beers on Wednesday, December 6,
a week from tomorrow.  Hopefully by then I'll have recovered and will no longer
feel the need to badmouth PHP, especially if Faber is there.

Now, back to optimizing memory usage!

-- 
rjbs


More information about the ABE-pm mailing list