From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthieu Moy Subject: Re: clone from url with email address as username?(escaping @ symbol) Date: Tue, 29 Sep 2009 22:47:35 +0200 Message-ID: References: <970bc7c80909290720i1c5566fer1c1a3db744edc609@mail.gmail.com> <970bc7c80909290831l59b7fc4at4ec0082f42f3ef87@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Ben Bennett , Sverre Rabbelier , git@vger.kernel.org To: Daniel Stenberg X-From: git-owner@vger.kernel.org Tue Sep 29 22:48:06 2009 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1MsjcB-0005Gm-4b for gcvg-git-2@lo.gmane.org; Tue, 29 Sep 2009 22:48:03 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752551AbZI2Uri (ORCPT ); Tue, 29 Sep 2009 16:47:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752519AbZI2Uri (ORCPT ); Tue, 29 Sep 2009 16:47:38 -0400 Received: from mx2.imag.fr ([129.88.30.17]:48729 "EHLO rominette.imag.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752315AbZI2Urh (ORCPT ); Tue, 29 Sep 2009 16:47:37 -0400 Received: from archeboc.imag.fr (archeboc.imag.fr [129.88.43.1]) by rominette.imag.fr (8.13.8/8.13.8) with ESMTP id n8TKi8cw011806 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Tue, 29 Sep 2009 22:44:08 +0200 Received: from bauges.imag.fr ([129.88.43.5]) by archeboc.imag.fr with esmtp (Exim 4.69) (envelope-from ) id 1Msjbj-000521-Cf; Tue, 29 Sep 2009 22:47:35 +0200 In-Reply-To: (Daniel Stenberg's message of "Tue\, 29 Sep 2009 22\:38\:19 +0200 \(CEST\)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.1.50 (gnu/linux) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (rominette.imag.fr [129.88.30.17]); Tue, 29 Sep 2009 22:44:08 +0200 (CEST) X-IMAG-MailScanner-Information: Please contact MI2S MIM for more information X-MailScanner-ID: n8TKi8cw011806 X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-SpamCheck: X-IMAG-MailScanner-From: matthieu.moy@grenoble-inp.fr MailScanner-NULL-Check: 1254861848.50178@qDuOXArm3PP8UoGlB4gl8Q Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Daniel Stenberg writes: >> Many tools do in this case, Firefox is one of them. > > So what if you had that @ in your password and not in your user > name? Then the last @ would still be the separator between the login/password and the hostname, and looking at the '@' starting from the right hand side would still work. The problem is if you have a ":" in your login or password, _then_ it is ambiguous (but by far less common), but the @ is here to split something that can have a @ in it (login:pass) and something which can't (hostname), so there isn't any ambiguity. -- Matthieu Moy http://www-verimag.imag.fr/~moy/