[imp] message source page sent as html

Aleksandar Milivojevic amilivojevic at pbl.ca
Fri May 6 09:43:45 PDT 2005


Jan Schneider wrote:
> Zitat von Aleksandar Milivojevic <amilivojevic at pbl.ca>:
> 
> 
>>Is it just my installation, or new IMP (4.0.3) doesn't display mail
>>message source correctly?
>>
>>When "message source" is clicked, window opens, and my browser (Firefox)
>>renders what it got as HTML.  Since the page is really plain text, it
>>looks ugly, unreadable, and if source contained HTML tags, they get
>>rendered...  Using "view page info" it shows content-type of text/html.
>> I haven't been debuging further to see if web server (Apache) sent
>>this content type, or if it wasn't sent so Firefox defaulted it to
>>text/html.  Regardless of that, shouldn't the content-type be explicitly
>>set to text/plain by IMP instead of relaying on automagic?
> 
> 
> It *is*.

Hm, strange.  How come that my browser got text/html than?  I'll try 
doing some debugging when I get home (or over the weekend).  Looking at 
it remotely (without access to logs), it doesn't seem to be trivial case 
of output being generated prior to PHP application setting up headers 
(for example errors/warnings from PHP interpreter itself).

-- 
Aleksandar Milivojevic <amilivojevic at pbl.ca>    Pollard Banknote Limited
Systems Administrator                           1499 Buffalo Place
Tel: (204) 474-2323 ext 276                     Winnipeg, MB  R3T 1L7


More information about the imp mailing list