[imp] PHP Warning: htmlspecialchars()

Petri Turunen pet at pete.fi.eu.org
Mon Jan 20 13:28:45 PST 2003


On Sun, 19 Jan 2003 marc.bigler at day.com wrote:

>
>
> >Upgrade to IMP RELENG/Horde 2.2 or downgrade your PHP.
>
> As it seem to work any way quite well I am planning to leave my setup like
> it is with these error messages, is that I good idea ? I mean those error
> messages simply look harmless.
>
> I will upgrade as soon as a new final version of IMP is out.
>

I solved this editing horde/imp/lib/MIME/Viewer/text.php

      $charset = $this->getCharset($mime);
        if($charset=="us-ascii") //Pete's code
         $charset="iso-8859-1"; //Pete's code
      $text = str_replace('</A>', '</a>', $text); // make sure that the

Just copy&paste lines where "//Pete's code" is at end.

Regards,
Petri Turunen


More information about the imp mailing list