Opened 18 years ago

Closed 16 years ago

Last modified 16 years ago

#10082 closed defect (fixed)

BUG: w3m gives wrong information about application/xhtml+xml support

Reported by: vincent-opdarw@… Owned by: vinc17@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: yeled@…,vincent-opdarw@…,markd@…
Port: w3m

Description (last modified by yeled@…)

w3m tells the web server that it supports application/xhtml+xml, but when an application/xhtml+xml file is served, w3m wants to save it instead of displaying it. To fix this problem, w3m should probably be installed with the following default /opt/local/etc/w3m/mailcap file (as in Debian):

application/xhtml+xml; cat %s; x-htmloutput

Attachments (1)

Portfile.patch (463 bytes) - added by vinc17@… 17 years ago.
Portfile patch that adds a post-activate to create mailcap file

Download all attachments as: .zip

Change History (12)

comment:1 Changed 18 years ago by yeled@…

Status: newassigned

an interesting bug. not sure we can modify (or want to) the mailcap for the user.

how does mailcap searching work - perhaps we could add our own ${prefix}/etc/Mailcap ?

comment:2 Changed 18 years ago by yeled@…

Cc: yeled@… added

comment:3 Changed 18 years ago by vincent-opdarw@…

After doing a ktrace w3m:

$ kdump | grep mailcap

26811 w3m NAMI "/Users/vinc17/.w3m/mailcap" 26811 w3m NAMI "/opt/local/etc/w3m/mailcap"

${prefix}/etc/w3m/mailcap should be used.

comment:4 Changed 18 years ago by yeled@…

nice!! any patches appreciated.. i'm hardly awake today :)

comment:5 Changed 18 years ago by pipping@…

Milestone: Available Ports

comment:6 Changed 18 years ago by pipping@…

Milestone: Available PortsPort Bugs

comment:7 Changed 17 years ago by markd@…

Cc: vincent-opdarw@… markd@… added

So what is to be done with this ticket? Does w3m 0.5.2 change this behavior?

comment:8 Changed 17 years ago by yeled@…

Description: modified (diff)
Owner: changed from macports-tickets@… to vinc17@…
Status: assignednew

perhaps vincent can check for us.

Changed 17 years ago by vinc17@…

Attachment: Portfile.patch added

Portfile patch that adds a post-activate to create mailcap file

comment:9 Changed 17 years ago by vinc17@…

No change with w3m 0.5.2. I propose the attached patch: a mailcap file is created only if there isn't already one.

Also the configure.env line should now be removed (not done by the patch).

comment:10 Changed 16 years ago by blb@…

Port: w3m added
Resolution: fixed
Status: newclosed

An update similar to this one was committed in r41024.

comment:11 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.