2006-04-30 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 1 May 2006 12:22:28 +0000 (12:22 +0000)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 1 May 2006 12:22:28 +0000 (12:22 +0000)
* nnweb.el (nnweb-request-article): Do proper xwfu encoding when
fetching articles by message-id.

lisp/nnweb.el

index 4990369..e93373e 100644 (file)
@@ -171,7 +171,8 @@ Valid types include `google', `dejanews', and `gmane'.")
                       (when (string-match "^<\\(.*\\)>$" article)
                         (setq art (match-string 1 article)))
                       (when (and fetch art)
-                        (setq url (format fetch art))
+                        (setq url (format fetch
+                                          (mm-url-form-encode-xwfu art)))
                         (mm-with-unibyte-current-buffer
                           (mm-url-insert url))
                         (if (nnweb-definition 'reference t)