From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: raman Newsgroups: gmane.emacs.bugs Subject: bug#22671: 25.0.90; EWW: Redirects go to Firefox (rather than EWW) Date: Tue, 16 Feb 2016 08:33:15 -0800 Message-ID: References: <87d1rx6vdf.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1455640965 29864 80.91.229.3 (16 Feb 2016 16:42:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Feb 2016 16:42:45 +0000 (UTC) Cc: 22671@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 16 17:42:35 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aVihu-0003dX-U1 for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Feb 2016 17:42:35 +0100 Original-Received: from localhost ([::1]:47911 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVihu-00086y-AA for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Feb 2016 11:42:34 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aViZi-0001k2-5K for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2016 11:34:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aViZe-0006uF-5z for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2016 11:34:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39582) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aViZe-0006uB-24 for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2016 11:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aViZd-0002J0-Qp for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2016 11:34:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: raman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Feb 2016 16:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22671 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 22671-submit@debbugs.gnu.org id=B22671.14556404188814 (code B ref 22671); Tue, 16 Feb 2016 16:34:01 +0000 Original-Received: (at 22671) by debbugs.gnu.org; 16 Feb 2016 16:33:38 +0000 Original-Received: from localhost ([127.0.0.1]:38253 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aViZC-0002I2-E3 for submit@debbugs.gnu.org; Tue, 16 Feb 2016 11:33:38 -0500 Original-Received: from mail-yw0-f177.google.com ([209.85.161.177]:33616) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aViZ7-0002Hk-0d for 22671@debbugs.gnu.org; Tue, 16 Feb 2016 11:33:33 -0500 Original-Received: by mail-yw0-f177.google.com with SMTP id u200so143676403ywf.0 for <22671@debbugs.gnu.org>; Tue, 16 Feb 2016 08:33:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=J39z39+l+yDg1cr4e6xD7Q0j4qsecaBSFnSDxyQNWPE=; b=NPH8p5mSu9FQ56ZtHXfmUY8sdSkd0SlOcmMeXr4+N+B6pO4xdGj/01DqjhUzKTbuDH nEHpRP4X0RQU9FQaBaULr6/ow9I+0Zq77QgHm2kUJpiXo/gfhygd+LJHLz09b6Ko9d8A OknopkU/tOyxbpp4u3HcUndKi5ihDDnw/rRnYIFCyHz53BTNKKBYZPqL+0Az0flIfso/ L2+FKNcePn8A/RrWHRMwS5B1r67gv7w8PbXNSqfD7G5AU0CfXCsm4LwUARZwMd4cOZHA Anbc3Rnh1kC3BuU9MHvtDA0mXzW/G7IP8XZug89Hmv2o8RfTEYV1ZaMc0gRetG9YYzSl 9Dmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=J39z39+l+yDg1cr4e6xD7Q0j4qsecaBSFnSDxyQNWPE=; b=ATeSdFgRQOHC3oFO9rTbik82eQvWpgqJt0w3omecGsMgqBuA+bhAaHsrqYVP9La/md qdHykINnMcVpQTnDnIPqDpONVxZ3c+uztP17TP7TFh/HCFDxdXvQLSfblz3MQKbxKZya W1aAza1l3db18g71trV7OJxL2bXfC2CQdgnBEsCTeyJLA+jqRrA5gPyi9NYFdn9I6eyd eAAIGn1Wv5AZAqXPBOVz64lzK0L3RYMfXxJTIKP8Hp7G6MNkzYSgsGeke4VAfDRtr8bb LAnQc/dIVdpguiRovhzmKWNjxbsW1vtLuzUJx0g0kPbrcVLWCAVXsEYWUUL0Zu85IDTs srBg== X-Gm-Message-State: AG10YOT6fldqroYcM4k507ZKRs+hZffDMg8aGLhTKuJDMcYIXK+ybgTUcZesu0rOXXG6kjyd X-Received: by 10.129.116.196 with SMTP id p187mr12482129ywc.253.1455640403272; Tue, 16 Feb 2016 08:33:23 -0800 (PST) Original-Received: from raman-glaptop2 ([207.198.106.151]) by smtp.gmail.com with ESMTPSA id m188sm24857889ywe.46.2016.02.16.08.33.18 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Tue, 16 Feb 2016 08:33:19 -0800 (PST) In-Reply-To: <87d1rx6vdf.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 16 Feb 2016 17:07:40 +1100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:113140 Archived-At: Lars Ingebrigtsen 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... --