Re: Chora and CVSWeb problems

From: Date: Sun, 19 Aug 2001 19:39:20 +0000
Subject: Re: Chora and CVSWeb problems
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-63757@lists.php.net to get a copy of this message
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

« previous php.dev (#63757) next »