Re: HTTP URI in the form of "http://example.com?query"

Daniel Stenberg <daniel@haxx.se> Tue, 04 June 2013 11:38 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1D0B921F9D48 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 4 Jun 2013 04:38:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level:
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HS_INDEX_PARAM=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JSDLw4z9sR0x for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 4 Jun 2013 04:37:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9A5DE21F9A16 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 4 Jun 2013 03:21:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UjoLY-0006Ov-Pm for ietf-http-wg-dist@listhub.w3.org; Tue, 04 Jun 2013 10:20:08 +0000
Resent-Date: Tue, 04 Jun 2013 10:20:08 +0000
Resent-Message-Id: <E1UjoLY-0006Ov-Pm@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <daniel@haxx.se>) id 1UjoLM-00055w-CJ for ietf-http-wg@listhub.w3.org; Tue, 04 Jun 2013 10:19:56 +0000
Received: from giant.haxx.se ([80.67.6.50]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <daniel@haxx.se>) id 1UjoLF-0005zn-7V for ietf-http-wg@w3.org; Tue, 04 Jun 2013 10:19:56 +0000
Received: from giant.haxx.se (localhost.localdomain [127.0.0.1]) by giant.haxx.se (8.14.4/8.14.4/Debian-2) with ESMTP id r54AJKYn018462 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 4 Jun 2013 12:19:20 +0200
Received: from localhost (dast@localhost) by giant.haxx.se (8.14.4/8.14.4/Submit) with ESMTP id r54AJJ1D018458; Tue, 4 Jun 2013 12:19:20 +0200
X-Authentication-Warning: giant.haxx.se: dast owned process doing -bs
Date: Tue, 04 Jun 2013 12:19:19 +0200
From: Daniel Stenberg <daniel@haxx.se>
X-X-Sender: dast@giant.haxx.se
To: Julian Reschke <julian.reschke@gmx.de>
cc: Roberto Peon <grmocg@gmail.com>, Zhong Yu <zhong.j.yu@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
In-Reply-To: <51AD9F87.5050603@gmx.de>
Message-ID: <alpine.DEB.2.00.1306041215460.32021@tvnag.unkk.fr>
References: <CACuKZqFvFo2ztDBZwMVtSE54rvHthyJJc-8X-yFq=CSVMy9GXw@mail.gmail.com> <51AD8EC1.4010608@gmx.de> <CAP+FsNd3mWAtQ_Fn_Kvtx28300SO761fEZBhnm9NrHv_WQ2BjQ@mail.gmail.com> <51AD9A87.9020403@gmx.de> <CAP+FsNe9oZQPxS-8rhz=MYiLj8aceKFTCJow4wrRnXDrrgdzww@mail.gmail.com> <51AD9F87.5050603@gmx.de>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
X-fromdanielhimself: yes
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"; format="flowed"
Received-SPF: pass client-ip=80.67.6.50; envelope-from=daniel@haxx.se; helo=giant.haxx.se
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-2.850, RP_MATCHES_RCVD=-0.535, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1UjoLF-0005zn-7V 68fe3d6f79fe723c2ea257ec9b17d5cb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP URI in the form of "http://example.com?query"
Archived-At: <http://www.w3.org/mid/alpine.DEB.2.00.1306041215460.32021@tvnag.unkk.fr>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18172
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On Tue, 4 Jun 2013, Julian Reschke wrote:

> Yes, but what's the exact breakage except for one component not processing 
> that edge case? It's an edge case after all?

I only recently got a bug report for curl as when we got an input such as that 
and passed it to a particular (unspecified) proxy it would reject it as 
illegal.

Thus curl nowadays will insert a slash before passing on the URL to a proxy.

-- 

  / daniel.haxx.se