From: Ian Dunn Date: Mon, 16 Jan 2017 00:02:47 +0000 (-0500) Subject: * lisp/net/eww.el (eww-tag-meta): Handle single quoted URLs (Bug#25445). X-Git-Tag: emacs-25.2-rc1~24 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=24a5f57ac3206c05e3a3c19837f96327f008c071;p=emacs.git * lisp/net/eww.el (eww-tag-meta): Handle single quoted URLs (Bug#25445). Copyright-paperwork-exempt: yes --- 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))