From nobody@FreeBSD.org  Sun Oct  9 11:06:00 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 42F8516A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  9 Oct 2005 11:06:00 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1315743D45
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  9 Oct 2005 11:06:00 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j99B5x68042992
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 9 Oct 2005 11:05:59 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j99B5xJp042979;
	Sun, 9 Oct 2005 11:05:59 GMT
	(envelope-from nobody)
Message-Id: <200510091105.j99B5xJp042979@www.freebsd.org>
Date: Sun, 9 Oct 2005 11:05:59 GMT
From: Ed Schouten <ed@fxq.nl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: W3M does not support the `application/xhtml+xml` mime-type
X-Send-Pr-Version: www-2.3

>Number:         87161
>Category:       ports
>Synopsis:       W3M does not support the `application/xhtml+xml` mime-type
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 09 11:10:18 GMT 2005
>Closed-Date:    Sun Oct 09 16:44:47 GMT 2005
>Last-Modified:  Sun Oct 09 16:44:47 GMT 2005
>Originator:     Ed Schouten
>Release:        5.4-STABLE
>Organization:
>Environment:
FreeBSD palm.hoeg.nl 5.4-STABLE FreeBSD 5.4-STABLE #0: Tue Sep 27 23:26:28 CEST 2005     root@palm.hoeg.nl:/usr/obj/usr/src/sys/PALM  i386
>Description:
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.
>How-To-Repeat:
Visit a website written in XHTML that is sent using the `application/xhtml+xml` mime-type.              
>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
>Release-Note:
>Audit-Trail:

From: "Volker Stolz" <vs@freebsd.org>
To: bug-followup@freebsd.org, ed@fxq.nl
Cc:  
Subject: Re: ports/87161: W3M does not support the `application/xhtml+xml` mime-type
Date: Sun, 09 Oct 2005 17:29:26 +0200

 Could you please give a URL against which we could test the patch?
 
 Volker

From: Ed Schouten <ed@fxq.nl>
To: Volker Stolz <vs@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: ports/87161: W3M does not support the `application/xhtml+xml` mime-type
Date: Sun, 9 Oct 2005 18:14:38 +0200

 --oSMU0HVueUMCAvn0
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 * 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,
 --=20
  Ed Schouten <ed@fxq.nl>
 
 --oSMU0HVueUMCAvn0
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (FreeBSD)
 
 iD8DBQFDSUHumVI4SHXwmhERAjnBAJ4okHGSAUU3nIL1iGO/5ZWfZAM/WQCghxTW
 TlcEi5soCEkCRxrNKuVKXIw=
 =xOi7
 -----END PGP SIGNATURE-----
 
 --oSMU0HVueUMCAvn0--
State-Changed-From-To: open->closed 
State-Changed-By: nobutaka 
State-Changed-When: Sun Oct 9 16:39:39 GMT 2005 
State-Changed-Why:  
I adopted the original version of the patch for PATCH_SITES and PATCHFILES. 
Thank you for submitting the PR! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=87161 
>Unformatted:
