The W3M browser does not support the application/xhtml+xml mime-type. When you visit a website that is sent using the `application/xhtml+xml` mime-type, you are prompted to download the file to disk. When renaming the file on disk to .html and visiting it with W3M, it displays correctly. Fix: A patch for the port is available at: http://g-rave.nl/files/ports/www-w3m-patch-xhtml It should be placed in the 'www/w3m/files/' directory. This patch is a trimmed down version of: http://www.alib.jp/files/w3m-0.5-version-xhtml.patch How-To-Repeat: Visit a website written in XHTML that is sent using the `application/xhtml+xml` mime-type.
Could you please give a URL against which we could test the patch? Volker
* Volker Stolz <vs@freebsd.org> wrote: > Could you please give a URL against which we could test the patch? Of course. Here's a testcase: http://test.g-rave.nl/xhtml.xht The webserver is running XS-HTTPD 3.3b30 (www/xshttpd) and uses /usr/local/etc/mime.types from misc/mime-support as its mime-types index. Because of that, it sends back application/xhtml+xml. Yours, -- Ed Schouten <ed@fxq.nl>
State Changed From-To: open->closed I adopted the original version of the patch for PATCH_SITES and PATCHFILES. Thank you for submitting the PR!