From: npostavs@users.sourceforge.net
To: Ian Dunn <dunni@gnu.org>
Cc: 25445@debbugs.gnu.org
Subject: bug#25445: Bug (Trunk): Redirect fails in Duckduckgo
Date: Sun, 15 Jan 2017 19:35:51 -0500 [thread overview]
Message-ID: <87bmv7yh7c.fsf@users.sourceforge.net> (raw)
In-Reply-To: <87k29xvhfo.fsf@gnu.org> (Ian Dunn's message of "Sat, 14 Jan 2017 09:34:35 -0500")
[-- Attachment #1: Type: text/plain, Size: 133 bytes --]
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.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: patch --]
[-- Type: text/x-diff, Size: 916 bytes --]
From e1751dfb7ef5efbe1d79789f3d7b3a625dd8faab Mon Sep 17 00:00:00 2001
From: Ian Dunn <dunni@gnu.org>
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
next prev parent reply other threads:[~2017-01-16 0:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-14 5:34 bug#25445: Bug (Trunk): Redirect fails in Duckduckgo Ian Dunn
2017-01-14 7:13 ` npostavs
2017-01-14 14:34 ` Ian Dunn
2017-01-16 0:35 ` npostavs [this message]
2017-01-16 3:33 ` Eli Zaretskii
2017-01-16 4:27 ` npostavs
2017-01-16 18:12 ` Achim Gratz
2017-01-16 18:24 ` Noam Postavsky
2017-01-16 19:24 ` Eli Zaretskii
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bmv7yh7c.fsf@users.sourceforge.net \
--to=npostavs@users.sourceforge.net \
--cc=25445@debbugs.gnu.org \
--cc=dunni@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).