Opened 18 years ago

Last modified 15 years ago

#10082 closed defect

BUG: w3m gives wrong information about application/xhtml+xml support — at Version 8

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

Change History (9)

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 17 years ago by pipping@…

Milestone: Available Ports

comment:6 Changed 17 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

Note: See TracTickets for help on using tickets.