summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Dunn <dunni@gnu.org>2017-01-15 19:02:47 -0500
committerNoam Postavsky <npostavs@gmail.com>2017-01-15 23:24:38 -0500
commit24a5f57ac3206c05e3a3c19837f96327f008c071 (patch)
tree4bdb9c0febeaa6e645ee18b00ddd615e7d260bb8
parent9b89896b7ad0d3d401e06b128d3b41634e7c0597 (diff)
downloademacs-24a5f57ac3206c05e3a3c19837f96327f008c071.tar.gz
* lisp/net/eww.el (eww-tag-meta): Handle single quoted URLs (Bug#25445).
Copyright-paperwork-exempt: yes
-rw-r--r--lisp/net/eww.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index fe9f40a58ab..29390eeebb3 100644
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -477,6 +477,7 @@ Currently this means either text/html or application/xhtml+xml."
(< 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))