Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 54678 invoked from network); 15 Oct 2005 05:54:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Oct 2005 05:54:03 -0000 Received: (qmail 45047 invoked by uid 500); 15 Oct 2005 05:53:57 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 45019 invoked by uid 500); 15 Oct 2005 05:53:57 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 45008 invoked by uid 99); 15 Oct 2005 05:53:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2005 22:53:57 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of mario@ops.co.at designates 194.152.182.4 as permitted sender) Received: from [194.152.182.4] (HELO smtp.ops.co.at) (194.152.182.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2005 22:53:58 -0700 Received: by smtp.ops.co.at (Postfix, from userid 65534) id E80F823C0AC; Sat, 15 Oct 2005 07:53:34 +0200 (CEST) Received: from [192.168.3.1] (mgate.int.ops.co.at [172.27.0.11]) by smtp.ops.co.at (Postfix) with ESMTP id 3250423C0AB for ; Sat, 15 Oct 2005 07:53:31 +0200 (CEST) Message-ID: <4350995B.4040008@ops.co.at> Date: Sat, 15 Oct 2005 07:53:31 +0200 From: Mario Ivankovits User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050715) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jakarta Commons Users List Subject: Re: [VFS] Problems with URI Password containing '%' References: <20051014191407.12557.qmail@web31512.mail.mud.yahoo.com> In-Reply-To: <20051014191407.12557.qmail@web31512.mail.mud.yahoo.com> Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on smtp.ops.co.at X-Spam-Level: X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, hits=-8.6 required=7.0 tests=AWL,BAYES_00,RATWR10_MESSID, SARE_TOCC_USER autolearn=no version=2.64 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N manco wrote: > Looks like '%' is a special > escape char so now I have to figure out how to escape > it. > The smb testcase use the password "vfs/%\te:st" for its tests. The uri: smb://HOME\vfsusr:vfs%2f%25\te:st@10.0.1.54/vfsusr/vfstest As you might see, it uses %25 as replacement for % and it works. If possible you should use the latest version of VFS. > 1. If there is a way to get around the % char what is > it? > Hmmm. Depending on your use-case you might try to set the password through jcifs client properties. See: http://jcifs.samba.org/src/docs/api/overview-summary.html#scp > 2. Is there a set of Special Chars that Can't be used? > The latest VFS should allow you any character. (at least % encoded) --- Mario --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org