On Sun, Aug 19, 2001 at 12:31:22PM -0700, Rasmus Lerdorf wrote:
> > Maybe Chora puts out an XML content type header, or
> > something, that makes IE think this is XML (as it
> > is not). I can't see the source, as IE just denies
> > to show the source in such cases saying "The XML
> > source file is unavailable for viwing). Please ask,
> > if more information is needed
> 
> IE is a completely useless web browser.  It does not honour mime types and
> simply uses the file extension and/or any client-side file type
> associations.  Chora is doing the right thing.  On that com.xml URL you
> posted it is sending a text/plain Content-Type header.  The fact that IE
> choosed to pass text/plain to an internal XML parser is just one more
> reason you should never use IE for web browsing.  You never know what the
> thing is going to do.  I would not suggest changing Chora in any way with
> this respect.
> 

Agh, I see the problem now.

One workaround is to disable the 'use_path_info' option in
Chora, which will result in IE seeing a '.php' extension
instead of the '.xml' extension.   The old PATH_INFO urls
will still work, but new links will use GET propagation for
the cvs-path. 

Another one is to pad the PATH_INFO for diffs with a '.txt'
extension which will fool IE.  I don't think I'll bother
doing this when the above option is much cleaner.

Anil

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to