From 24a5f57ac3206c05e3a3c19837f96327f008c071 Mon Sep 17 00:00:00 2001 From: Ian Dunn Date: Sun, 15 Jan 2017 19:02:47 -0500 Subject: [PATCH] * 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 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)) -- 2.39.5