all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: raman <raman@google.com>
Cc: 22671@debbugs.gnu.org
Subject: bug#22671: 25.0.90; EWW: Redirects go to Firefox (rather than EWW)
Date: Tue, 16 Feb 2016 17:07:40 +1100	[thread overview]
Message-ID: <87d1rx6vdf.fsf@gnus.org> (raw)
In-Reply-To: <p91mvr26ek5.fsf@google.com> (raman@google.com's message of "Sun,  14 Feb 2016 15:46:18 -0800")

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





  reply	other threads:[~2016-02-16  6:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-14 23:46 bug#22671: 25.0.90; EWW: Redirects go to Firefox (rather than EWW) raman
2016-02-16  6:07 ` Lars Ingebrigtsen [this message]
2016-02-16 16:33   ` raman
2017-01-24 22:39     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d1rx6vdf.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=22671@debbugs.gnu.org \
    --cc=raman@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.