From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#10478: 24.0.50; url-http-parse-headers can silently drop the response when handling BASIC AUTHENTICATION Date: Fri, 25 Dec 2015 22:49:05 +0100 Message-ID: <8737uqyzam.fsf@gnus.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1451080335 15796 80.91.229.3 (25 Dec 2015 21:52:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Dec 2015 21:52:15 +0000 (UTC) Cc: 10478@debbugs.gnu.org To: Jerry Asher Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 25 22:52:03 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aCaHJ-0002hw-Jk for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Dec 2015 22:52:01 +0100 Original-Received: from localhost ([::1]:36560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCaHI-0004Zi-TG for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Dec 2015 16:52:00 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCaFR-0003hq-50 for bug-gnu-emacs@gnu.org; Fri, 25 Dec 2015 16:50:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aCaFN-0006vN-Vg for bug-gnu-emacs@gnu.org; Fri, 25 Dec 2015 16:50:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56251) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCaFN-0006vJ-TD for bug-gnu-emacs@gnu.org; Fri, 25 Dec 2015 16:50:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aCaFN-0004RS-Oh for bug-gnu-emacs@gnu.org; Fri, 25 Dec 2015 16:50:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Dec 2015 21:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10478 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10478-submit@debbugs.gnu.org id=B10478.145108016917015 (code B ref 10478); Fri, 25 Dec 2015 21:50:01 +0000 Original-Received: (at 10478) by debbugs.gnu.org; 25 Dec 2015 21:49:29 +0000 Original-Received: from localhost ([127.0.0.1]:35617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCaEr-0004QN-1X for submit@debbugs.gnu.org; Fri, 25 Dec 2015 16:49:29 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:57719) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCaEp-0004QG-SP for 10478@debbugs.gnu.org; Fri, 25 Dec 2015 16:49:28 -0500 Original-Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aCaEU-0004xW-H5; Fri, 25 Dec 2015 22:49:06 +0100 In-Reply-To: (Jerry Asher's message of "Wed, 11 Jan 2012 00:03:06 -0700") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aCaEU-0004xW-H5 MailScanner-NULL-Check: 1451684946.72154@kmMvqhqenpSgJw6lemulcg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:110462 Archived-At: Jerry Asher writes: > When making a GET request again their simplest api, users/me that > returns information about the logged in user, url-retrieve-synchronously > will return the wrong buffer. > > This seems to be traceable to url-http-parse-headers handling the "401 > Basic: Access denied message by" calling url-http-handle-authentication > which prompts the user for a name and password and calls > url-retrieve-internal to retry the request. I can confirm that this bug is still present in Emacs 25. It returns the buffer with the 401 message, not the buffer with the response... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no