[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22671: 25.0.90; EWW: Redirects go to Firefox (rather than EWW)
From: |
Lars Ingebrigtsen |
Subject: |
bug#22671: 25.0.90; EWW: Redirects go to Firefox (rather than EWW) |
Date: |
Tue, 16 Feb 2016 17:07:40 +1100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux) |
raman <raman@google.com> writes:
> Sometimes, sites send a redirect with content-type text/html but that
> text/html still gets handed to Firefox -- rather than EWW.
> One possible reason is that /etc/mailcap on ubuntu/trusty has this line:
> text/html; firefox -private-window %s; test=test -n "$DISPLAY"
>
> It has that for the other xml/html related mime types as well.
This has nothing to do with that, it turns out, but rather with the
eww-use-external-browser-for-content-type variable. The URL redirects
to something with "Content-Type: audio/mpeg", and that matches that
variable, so it opens Firefox.
I think that that's really confusing, though. It should just render it
as a link, and then people can do what they want with it...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no