[
https://issues.apache.org/jira/browse/VFS-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498955
]
Mario Ivankovits commented on VFS-162:
--------------------------------------
Special characters have to be encoded. In your case the @ should be written as
%40.
And then there is an api which you can use. We have some
*FileSystemConfiguBuilder which will help you there.
See [1] to get a clue.
Ciao,
Mario
[1] http://jakarta.apache.org/commons/vfs/api.html
> Url parsing incorrect with @ symbol in the password field.
> ----------------------------------------------------------
>
> Key: VFS-162
> URL: https://issues.apache.org/jira/browse/VFS-162
> Project: Commons VFS
> Issue Type: Bug
> Affects Versions: 1.0
> Environment: N/A
> Reporter: Ivan Lazarte
> Attachments: vfs-bug-fix.zip
>
>
> The file system being used used is SftpFileSystem. After an initial look
> into, I'd have to subclass and invoke the Jsch libs directly to potentially
> set the pw programmatically? It'd be nice if Sftp could accept a high level,
> non api specific method for programmatically setting the pw.
> Expected behavior is to choose the rightmost @ as the host delimiter, but a
> higher level programmatic api is a nice to have as well.
> If I've missed anything in the api which lets me do this already, just let me
> know! :)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]