Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 85299 invoked from network); 21 Jan 2010 21:45:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Jan 2010 21:45:30 -0000 Received: (qmail 48166 invoked by uid 500); 21 Jan 2010 21:45:27 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 48102 invoked by uid 500); 21 Jan 2010 21:45:26 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 48091 invoked by uid 99); 21 Jan 2010 21:45:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jan 2010 21:45:26 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aw@ice-sa.com designates 212.85.38.228 as permitted sender) Received: from [212.85.38.228] (HELO tor.combios.es) (212.85.38.228) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jan 2010 21:45:18 +0000 Received: from localhost (localhost [127.0.0.1]) by tor.combios.es (Postfix) with ESMTP id 288D22260C8 for ; Thu, 21 Jan 2010 22:44:57 +0100 (CET) Received: from tor.combios.es ([127.0.0.1]) by localhost (tor.combios.es [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AV9vHl-W7G0I for ; Thu, 21 Jan 2010 22:44:57 +0100 (CET) Received: from [192.168.245.129] (p549EB2AF.dip0.t-ipconnect.de [84.158.178.175]) by tor.combios.es (Postfix) with ESMTPA id C5C212260C4 for ; Thu, 21 Jan 2010 22:44:56 +0100 (CET) Message-ID: <4B58CACD.6030300@ice-sa.com> Date: Thu, 21 Jan 2010 22:44:45 +0100 From: =?UTF-8?B?QW5kcsOpIFdhcm5pZXI=?= Reply-To: Tomcat Users List User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Basic Authentication Failed with multibyte username References: <201001211154.03045.auth.gabor@javaforum.hu> <4B5840A6.3040902@ice-sa.com> <4B585282.9060307@apache.org> <201001211516.02999.auth.gabor@javaforum.hu> <4B58BA8A.8020003@christopherschultz.net> In-Reply-To: <4B58BA8A.8020003@christopherschultz.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Christopher Schultz wrote: ... > > Nice that someone looked at actual behavior of the browsers. > There is an easy way to find out what really happens. Gábor, I presume that you have a workstation set for iso-8859-2 (or whichever non iso-8859-1 charset is appropriate for Magyar, I forgot), and a browser set up similarly. Could you get one of these add-ons like Fiddler2 or LiveHttpHeaders, and arrange to capture what is sent by the browser in its authorization header when you enter a user-id/password containing some characters of the range above \x9F ? That should be the base64 encoding of whatever the browser is sending. Then of course you'll have to find a way to show us the base64-encoded form, and the corresponding non-encoded form of ditto (but I think that composing and sending your post as UTF-8 should do the trick). We could probably do much the same with our own charset-challenged browsers, but we don't have the easiest keyboards for that. It is my deep suspicion that the browsers will just take the input as iso-latin-x (whatever the workstation/browser is set for), and base64-encode it, without bothering to indicate the real charset in any way. But we'll see. Kösönöm szepen, I think it is... --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org