From: Andreas Seltenreich <andreas+ding@gate450.dyndns.org>
Subject: Re: nnweb fix
Date: Sun, 30 Apr 2006 17:56:09 +0200 [thread overview]
Message-ID: <87k697ukfa.fsf@gate450.dyndns.org> (raw)
In-Reply-To: <874q0bnlj7.fsf@baldur.nicundtas.de> (Tassilo Horn's message of "Sun, 30 Apr 2006 17:14:04 +0200")
[-- Attachment #1: Type: text/plain, Size: 945 bytes --]
Tassilo Horn schrob:
> Tassilo Horn <heimdall@uni-koblenz.de> writes:
>
>> I can get the first and the last message of the references at google.
>
> Short addition: I can get them via Gnus' web groups (G w RET <m-id>
> RET), too.
Does that mean, fetching the articles <44291c19@news.ish.de> and
<44294aab@news.ish.de> by hitting ^ works, but fetching
<e0b918$4oc$03$4@news.t-online.com> that way does not?
While I am not able to reproduce it, I noticed that
nnweb-request-article doesn't do any URL-encoding on the
message-id. The attached patch fixes it.
Google doesn't seem to care if ?$ and ?@ are sent unencoded though,
maybe you have a proxy inbetween that cares? I suggest applying the
patch anyway, even if it turns out that it doesn't fix the problem.
regards,
andreas
2006-04-30 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
* nnweb.el (nnweb-request-article): Do proper xwfu encoding when
fetching articles by message-id.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: nnweb.el.patch --]
[-- Type: text/x-patch, Size: 906 bytes --]
Index: nnweb.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/nnweb.el,v
retrieving revision 7.20
diff -c -r7.20 nnweb.el
*** nnweb.el 23 Apr 2006 14:12:44 -0000 7.20
--- nnweb.el 30 Apr 2006 15:32:07 -0000
***************
*** 171,177 ****
(when (string-match "^<\\(.*\\)>$" article)
(setq art (match-string 1 article)))
(when (and fetch art)
! (setq url (format fetch art))
(mm-with-unibyte-current-buffer
(mm-url-insert url))
(if (nnweb-definition 'reference t)
--- 171,178 ----
(when (string-match "^<\\(.*\\)>$" article)
(setq art (match-string 1 article)))
(when (and 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)
next prev parent reply other threads:[~2006-04-30 15:56 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-22 10:42 Andreas Seltenreich
2006-04-23 14:12 ` Lars Magne Ingebrigtsen
2006-04-23 19:02 ` Tassilo Horn
2006-04-30 9:24 ` Lars Magne Ingebrigtsen
2006-04-30 11:10 ` Tassilo Horn
2006-04-30 11:31 ` Lars Magne Ingebrigtsen
2006-04-30 12:10 ` Tassilo Horn
2006-04-30 15:14 ` Tassilo Horn
2006-04-30 15:56 ` Andreas Seltenreich [this message]
2006-04-30 16:34 ` Tassilo Horn
2006-04-30 16:58 ` Andreas Seltenreich
2006-05-01 12:06 ` Lars Magne Ingebrigtsen
2006-05-01 12:09 ` Lars Magne Ingebrigtsen
2006-05-01 14:40 ` Tassilo Horn
2006-05-01 15:02 ` Lars Magne Ingebrigtsen
2006-05-01 16:38 ` Tassilo Horn
2006-05-01 16:52 ` Lars Magne Ingebrigtsen
-- strict thread matches above, loose matches on Subject: below --
2005-12-31 9:42 Andreas Seltenreich
2005-12-31 10:48 ` Andreas Seltenreich
2006-01-04 0:18 ` Reiner Steib
2006-01-04 12:25 ` Andreas Seltenreich
2006-01-27 8:35 ` Andreas Seltenreich
2006-01-30 15:08 ` Reiner Steib
2006-01-31 5:48 ` Andreas Seltenreich
2006-01-31 16:03 ` Reiner Steib
2006-01-31 17:06 ` Andreas Seltenreich
2006-02-03 13:20 ` Reiner Steib
2006-02-12 6:34 ` Andreas Seltenreich
2006-02-13 13:35 ` Reiner Steib
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k697ukfa.fsf@gate450.dyndns.org \
--to=andreas+ding@gate450.dyndns.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).