patch to message.php3 for locale date

Oliver Schulze L. oliver@samera.com.py
Thu, 20 Sep 2001 03:54:06 -0400


This patch show the locale date while reading an email.
file: /imp/message.php3
replace the line:
if (isset($h->date))     { $dat = htmlspecialchars(chop($h->date)); }
with:
if (isset($h->date))     { $dat = strftime('%c', 
strtotime(htmlspecialchars(chop($h->date)))); }

imp 2.2.6 (tar.gz)
horde 1.2.6 (tar.gz)

To check:
does htmlspecialchars() parse bad(exploited) date strings?

HTH
Oliver

-- 
Oliver Schulze L.
oliver@samera.com.py
Asuncion-Paraguay