[imp] PHP Warning: htmlspecialchars()

Michael M Slusarz slusarz at bigworm.colorado.edu
Mon Jan 20 11:47:05 PST 2003


Quoting Petri Turunen <pet at pete.fi.eu.org>:

| 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.

The better of way of checking (and what has been implemented for IMP 3.2) 
is located here:
http://cvs.horde.org/diff.php/imp/lib/MIME/Viewer/Attic/text.php?
sa=1&r1=1.7.2.13&r2=1.7.2.14&ty=h

michael

______________________________________________
Michael Slusarz [slusarz at bigworm.colorado.edu]
The University of Colorado at Boulder


More information about the imp mailing list