From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#13598: 24.3.50; url-http.el doesn't correctly parse headers when they are sent line-by-line Date: Wed, 13 Feb 2013 14:42:35 -0500 Message-ID: References: <87d2wluuu9.fsf@online.de> <87wquk3sbv.fsf@online.de> <878v6st9m4.fsf@bzg.ath.cx> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1360784623 25580 80.91.229.3 (13 Feb 2013 19:43:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Feb 2013 19:43:43 +0000 (UTC) Cc: 13598@debbugs.gnu.org, Jonas =?UTF-8?Q?H=C3=B6rsch?= To: Bastien Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 13 20:44:04 2013 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 1U5iFO-0002vQ-QX for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Feb 2013 20:44:02 +0100 Original-Received: from localhost ([::1]:45493 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5iF5-0007FH-ED for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Feb 2013 14:43:43 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:42071) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5iEu-0007Bq-Q8 for bug-gnu-emacs@gnu.org; Wed, 13 Feb 2013 14:43:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U5iEr-0003lT-QB for bug-gnu-emacs@gnu.org; Wed, 13 Feb 2013 14:43:32 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49098) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5iEr-0003lO-N3 for bug-gnu-emacs@gnu.org; Wed, 13 Feb 2013 14:43:29 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U5iFO-0008MP-62 for bug-gnu-emacs@gnu.org; Wed, 13 Feb 2013 14:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Feb 2013 19:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13598 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13598-submit@debbugs.gnu.org id=B13598.136078459132071 (code B ref 13598); Wed, 13 Feb 2013 19:44:02 +0000 Original-Received: (at 13598) by debbugs.gnu.org; 13 Feb 2013 19:43:11 +0000 Original-Received: from localhost ([127.0.0.1]:54562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5iEY-0008LD-Vt for submit@debbugs.gnu.org; Wed, 13 Feb 2013 14:43:11 -0500 Original-Received: from fencepost.gnu.org ([208.118.235.10]:32803) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5iEX-0008L7-QT for 13598@debbugs.gnu.org; Wed, 13 Feb 2013 14:43:10 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1U5iDz-0002o4-PX; Wed, 13 Feb 2013 14:42:35 -0500 X-Spook: SHA Glock Exon Shell Uzi ASIO George W. Bush ANDVT SSL X-Ran: [0jY1s+>Wai1&s2+auwcAL)W}O].>G'>l5cmPQ%:CkIc{8^ii1vS:!.B%Q(5B'#Ko:[/r5 X-Hue: red X-Attribution: GM In-Reply-To: <878v6st9m4.fsf@bzg.ath.cx> (Bastien's message of "Wed, 13 Feb 2013 18:19:15 +0100") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.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:71205 Archived-At: Bastien wrote: >> i'm positive now, that changing the regex to "^\r+$" is the way to go. I don't understand how this can be correct. What is this supposed to be matching? http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.3 The line terminator for message-header fields is the sequence CRLF. However, we recommend that applications, when parsing such headers, recognize a single LF as a line terminator and ignore the leading CR.