GNU bug report logs - #10478
24.0.50; url-http-parse-headers can silently drop the response when handling BASIC AUTHENTICATION

Previous Next

Package: emacs;

Reported by: Jerry Asher <jerry.asher <at> gmail.com>

Date: Wed, 11 Jan 2012 07:11:01 UTC

Severity: normal

Tags: confirmed, moreinfo

Found in version 24.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Jerry Asher <jerry.asher <at> gmail.com>
Cc: 10478 <at> debbugs.gnu.org
Subject: bug#10478: Possible fix??
Date: Wed, 11 Jan 2012 10:42:07 +0100
Jerry Asher <jerry.asher <at> gmail.com> writes:

Hi,

> The following, ugly, changes in url-http.el seem to work, based on
> very very very limited testing....
>
> Basically,
>
> I changed url-http-handle-authentication so that if a change of buffer
> was made, it would return the new buffer, otherwise it would return
> nil.
>
> Then in  url-http-parse-headers, I cut and pasted code for the 3XX
> redirect case that sets a flag for url-retrieve-synchronously to do
> the same thing for the  401 and 407 cases.

Maybe there is a simple solution, using `save-current-buffer'?

Best regards, Michael.




This bug report was last modified 5 years and 246 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.