bug-gnu-emacs
[Top][All Lists]
Advanced

[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: raman
Subject: bug#22671: 25.0.90; EWW: Redirects go to Firefox (rather than EWW)
Date: Tue, 16 Feb 2016 08:33:15 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux)

Lars Ingebrigtsen <address@hidden> writes:

Thanks for looking at this Lars -- Agree with you -- sites out there do
all kinds of weird things with browser redirect. I had looked at the
headers with lwp-request and saw the first redirect -- and missed the
second redirect to the mp3 stream.


>
>> 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...

-- 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]