emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 24a5f57: * lisp/net/eww.el (eww-tag-meta): Handle


From: Noam Postavsky
Subject: [Emacs-diffs] emacs-25 24a5f57: * lisp/net/eww.el (eww-tag-meta): Handle single quoted URLs (Bug#25445).
Date: Mon, 16 Jan 2017 04:25:08 +0000 (UTC)

branch: emacs-25
commit 24a5f57ac3206c05e3a3c19837f96327f008c071
Author: Ian Dunn <address@hidden>
Commit: Noam Postavsky <address@hidden>

    * 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 fe9f40a..29390ee 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]