From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#25445: Bug (Trunk): Redirect fails in Duckduckgo Date: Sun, 15 Jan 2017 19:35:51 -0500 Message-ID: <87bmv7yh7c.fsf@users.sourceforge.net> References: <87r346urvj.fsf@gnu.org> <87pojqxgfm.fsf@users.sourceforge.net> <87k29xvhfo.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: blaine.gmane.org 1484526919 6937 195.159.176.226 (16 Jan 2017 00:35:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 16 Jan 2017 00:35:19 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: 25445@debbugs.gnu.org To: Ian Dunn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 16 01:35:14 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cSvGN-0000rp-St for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jan 2017 01:35:08 +0100 Original-Received: from localhost ([::1]:53520 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cSvGS-0001cv-Dz for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Jan 2017 19:35:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cSvGM-0001aP-BM for bug-gnu-emacs@gnu.org; Sun, 15 Jan 2017 19:35:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cSvGJ-0003d7-81 for bug-gnu-emacs@gnu.org; Sun, 15 Jan 2017 19:35:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39732) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cSvGJ-0003ct-43 for bug-gnu-emacs@gnu.org; Sun, 15 Jan 2017 19:35:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cSvGI-0007yr-Bw for bug-gnu-emacs@gnu.org; Sun, 15 Jan 2017 19:35:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Jan 2017 00:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25445 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25445-submit@debbugs.gnu.org id=B25445.148452689430659 (code B ref 25445); Mon, 16 Jan 2017 00:35:02 +0000 Original-Received: (at 25445) by debbugs.gnu.org; 16 Jan 2017 00:34:54 +0000 Original-Received: from localhost ([127.0.0.1]:55131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cSvG8-0007yJ-AO for submit@debbugs.gnu.org; Sun, 15 Jan 2017 19:34:52 -0500 Original-Received: from mail-io0-f172.google.com ([209.85.223.172]:35121) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cSvG7-0007y1-1q; Sun, 15 Jan 2017 19:34:51 -0500 Original-Received: by mail-io0-f172.google.com with SMTP id j18so81397288ioe.2; Sun, 15 Jan 2017 16:34:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=K+aUTLAnLW9XKyyQZUMBbHMMwnAzQgOYsMNBFW7sH8U=; b=NE3F0tipKTiIguVEuyouFFW+m15YbDQBEel56eLYrXeLuHnAolUYIQCCN82n5+x/FC mMjRVhAEotabTwjvKcIqsXNK81fjQ8GobW6KglIJMxOOn9Cq/MScb+yI0R2wIVrROG9H B1/ePRw8k+K6jMYUvEMj9HFDrVeK7kNYbA1AqPQaGhAz51qWuSmhmjOCh1XpJVGKrpFL S3IHS0PMVIcHJCMrmax0Pw1ubHee9hU6uukofKJfsuSDNe7R4fKoCUMMk30eVPF59N0G 6drBJwjaoJ4kTBJvU6xY43Y1eg9gRIJSxJOtfuivxak/69xucqzfHxrfeRqTtnqmS9Vp 53Xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=K+aUTLAnLW9XKyyQZUMBbHMMwnAzQgOYsMNBFW7sH8U=; b=QrT5XoymtIHDjejQWt1E+c1hPlaquqjqZzZ8jUO/ppym3pHvn++OB4EQSJlrfXdJ31 C/OzSgWjE9UtwhfK2nlk0mUtk1hotui+r7odxg37aFZ5Kxnho02XrOVnxG+nsWcxyzNp KG13ORcHbRkeL/S2ljzykjUFMOHTenKeNvMlhbQa2zzywwDcvRUED1fdRIrxiYAxdm3g qgLNAl0NWbjfiyUPkiW04wVkcG1RL3BlTHRjbYJmg4v9jhTaIO3b6YpKcQJF5DRIAOBk 4V1T7vC/bL1dgmxBM+W6i0ek0CE3iCxfZCYF5cYnFEsxYOp9npLEzPIBrzSEQG/huC5o NCFA== X-Gm-Message-State: AIkVDXI2vasfI0uz6eNWfUo0TYoTND/53TCK5w1Y918sLW5GwHBIf9tZpvMAS2ZSmv9TIA== X-Received: by 10.107.167.204 with SMTP id q195mr4411167ioe.170.1484526885552; Sun, 15 Jan 2017 16:34:45 -0800 (PST) Original-Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id j143sm6248762ita.1.2017.01.15.16.34.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 15 Jan 2017 16:34:44 -0800 (PST) In-Reply-To: <87k29xvhfo.fsf@gnu.org> (Ian Dunn's message of "Sat, 14 Jan 2017 09:34:35 -0500") 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" Xref: news.gmane.org gmane.emacs.bugs:128141 Archived-At: --=-=-= Content-Type: text/plain tags 25445 patch quit Right, so I guess this should actually go to emacs-25 since eww-tag-meta seems to be a new function in 25.1. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=v1-0001-lisp-net-eww.el-eww-tag-meta-Handle-single-quoted.patch Content-Description: patch >From e1751dfb7ef5efbe1d79789f3d7b3a625dd8faab Mon Sep 17 00:00:00 2001 From: Ian Dunn Date: Sun, 15 Jan 2017 19:02:47 -0500 Subject: [PATCH v1] * lisp/net/eww.el (eww-tag-meta): Handle single quoted URLs (Bug#25445). Copyright-paperwork-exempt: yes --- lisp/net/eww.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/net/eww.el b/lisp/net/eww.el index d421807..90e7881 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -501,6 +501,7 @@ eww-tag-meta (< eww-redirect-level 5)) (when-let (refresh (dom-attr dom 'content)) (when (or (string-match "^\\([0-9]+\\) *;.*url=\"\\([^\"]+\\)\"" refresh) + (string-match "^\\([0-9]+\\) *;.*url=\'\\([^\']+\\)\'" refresh) (string-match "^\\([0-9]+\\) *;.*url=\\([^ ]+\\)" refresh)) (let ((timeout (match-string 1 refresh)) (url (match-string 2 refresh)) -- 2.9.3 --=-=-=--