From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andy Wingo Newsgroups: gmane.emacs.bugs Subject: bug#27022: url-retrieve + .authinfo bug Date: Mon, 22 May 2017 20:09:49 +0200 Message-ID: <87r2zgbw5u.fsf@pobox.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1495476695 9108 195.159.176.226 (22 May 2017 18:11:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 22 May 2017 18:11:35 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) To: 27022@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 22 20:11:31 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCrnm-0002Ga-Q9 for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 May 2017 20:11:31 +0200 Original-Received: from localhost ([::1]:44259 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCrns-0008Er-CK for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 May 2017 14:11:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCrnO-00080U-38 for bug-gnu-emacs@gnu.org; Mon, 22 May 2017 14:11:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dCrnK-0001b5-QF for bug-gnu-emacs@gnu.org; Mon, 22 May 2017 14:11:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58745) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dCrnK-0001av-E0 for bug-gnu-emacs@gnu.org; Mon, 22 May 2017 14:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dCrnK-0002n4-7b for bug-gnu-emacs@gnu.org; Mon, 22 May 2017 14:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andy Wingo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 May 2017 18:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27022 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.149547661610670 (code B ref -1); Mon, 22 May 2017 18:11:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 May 2017 18:10:16 +0000 Original-Received: from localhost ([127.0.0.1]:33189 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCrma-0002m2-Fl for submit@debbugs.gnu.org; Mon, 22 May 2017 14:10:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCrmY-0002lp-F9 for submit@debbugs.gnu.org; Mon, 22 May 2017 14:10:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dCrmS-0001RH-Ex for submit@debbugs.gnu.org; Mon, 22 May 2017 14:10:09 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:60124) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dCrmS-0001RB-C3 for submit@debbugs.gnu.org; Mon, 22 May 2017 14:10:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43133) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCrmR-0007Un-AP for bug-gnu-emacs@gnu.org; Mon, 22 May 2017 14:10:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dCrmQ-0001OE-Ej for bug-gnu-emacs@gnu.org; Mon, 22 May 2017 14:10:07 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45089) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCrmQ-0001O8-Br for bug-gnu-emacs@gnu.org; Mon, 22 May 2017 14:10:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35744) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dCrmQ-0001UH-09 for bug-emacs@gnu.org; Mon, 22 May 2017 14:10:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dCrmM-0001N9-E6 for bug-emacs@gnu.org; Mon, 22 May 2017 14:10:05 -0400 Original-Received: from pb-sasl1.pobox.com ([64.147.108.66]:61809 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dCrmM-0001Mc-90 for bug-emacs@gnu.org; Mon, 22 May 2017 14:10:02 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 564226C73F for ; Mon, 22 May 2017 14:09:58 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:date:message-id:mime-version:content-type; s=sasl; bh=A RQd2UDWNoyWxFlJZ6dXNf3fslw=; b=AsWf5tZgtsBKZykFWJfGuVIv34GsRhWSf F9+X9t3/C8IA8oAIA1AOBKhv3DpacpjSOjCuMRwdcSjTQ/xN2W2OWUbwZh/8ruR4 Lj6nQ5Z2bckYfbS3rR3WBDEaFFqg6D1LeK+W6siQFIgQAlA7VlXnET0pkIiXFlb+ 75woug008s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:subject :date:message-id:mime-version:content-type; q=dns; s=sasl; b=BJC bzpnC7ydhjtYoF8LVADRgXV/j/bcWIuchsdSvYARlLdS4TSTqTzyxJTdQq7AiBzE PDWDRhk/CP4YQZlfBogqZ1wo24Fds0QUC6h9hB+6dSsW2k0/odIEF4JO7bqYbE6s ycrHsIyvnLYvxV8FixPYHx0ybXMJiY39448Q6tiY= Original-Received: from pb-sasl1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 4F5F66C73E for ; Mon, 22 May 2017 14:09:58 -0400 (EDT) Original-Received: from clucks (unknown [81.34.20.186]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl1.pobox.com (Postfix) with ESMTPSA id 8BC986C73C for ; Mon, 22 May 2017 14:09:57 -0400 (EDT) X-Pobox-Relay-ID: DD452BAC-3F19-11E7-AAF2-9BB2D5707B88-02397024!pb-sasl1.pobox.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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" Xref: news.gmane.org gmane.emacs.bugs:132736 Archived-At: Hi, If you try to do a url-retrieve over HTTP on a URL that requires HTTP basic authentication, and you have an .authinfo file, and that .authinfo contains an incorrect login, then Emacs will keep appending the same Authorization: header to the request -- over and over, making the request larger and larger, with no stop condition. Eventually nginx produces a "400 Bad Request" error because there were too many headers. Emacs should instead error after the first attempt at authentication fails. $ emacs --version GNU Emacs 25.2.1 Andy