commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Delsaux <nicolas.dels...@gmail.com>
Subject Re: [VFS][SFTP] access path containing %0
Date Tue, 14 Sep 2010 15:09:50 GMT
On Tue, Sep 14, 2010 at 4:37 PM, sebb <sebbaz@gmail.com> wrote:
>
> So just make sure that you also encode literal % characters as well.
>
> Note that the path
>
> /mnt/data/data_files/path%0/System%20Folder/etc.
>
> is partially URL-encoded already; encoding it again will cause problems.
>
OK, seems like a classical URLEncoder.encode(String) of all path parts
is enough to solve the problem. Thanks for the help.

-- 
Nicolas Delsaux

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message