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.
A patch for the port is available at:
It should be placed in the 'www/w3m/files/' directory.
This patch is a trimmed down version of:
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 Stolz <email@example.com> wrote:
> Could you please give a URL against which we could test the patch?
Of course. Here's a testcase:
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.
Ed Schouten <firstname.lastname@example.org>
I adopted the original version of the patch for PATCH_SITES and PATCHFILES.
Thank you for submitting the PR!