You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2006/03/30 13:42:30 UTC
DO NOT REPLY [Bug 39152] New: - [VFSrc7] sftp: Url parsing fails with special characters in password part
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39152>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39152
Summary: [VFSrc7] sftp: Url parsing fails with special characters
in password part
Product: Commons
Version: unspecified
Platform: Other
OS/Version: other
Status: NEW
Severity: major
Priority: P3
Component: VFS
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: gernot.eger@t-mobile.at
When trying to access a file from an url with for example a question mark in
the password:
"sftp://myuser:test%3Fpwd@127.0.0.1/"
I get this stack trace:
org.apache.commons.vfs.FileSystemException: Port number is missing from
URI "sftp://myuser:test?pwd@127.0.0.1//".
at org.apache.commons.vfs.provider.HostFileNameParser.extractPort
(HostFileNameParser.java:228)
at org.apache.commons.vfs.provider.HostFileNameParser.extractToPath
(HostFileNameParser.java:133)
at org.apache.commons.vfs.provider.URLFileNameParser.parseUri
(URLFileNameParser.java:47)
at org.apache.commons.vfs.provider.AbstractFileProvider.parseUri
(AbstractFileProvider.java:167)
at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveName
(DefaultFileSystemManager.java:628)
at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveName
(DefaultFileSystemManager.java:563)
at
org.apache.commons.vfs.provider.AbstractOriginatingFileProvider.findFile
(AbstractOriginatingFileProvider.java:71)
at
org.apache.commons.vfs.provider.AbstractOriginatingFileProvider.findFile
(AbstractOriginatingFileProvider.java:61)
at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile
(DefaultFileSystemManager.java:524)
at org.apache.commons.vfs.impl.DefaultFileSystemManager.resolveFile
(DefaultFileSystemManager.java:468)
at com.tmobile.so.collector.VFSMoverFile.<init>(VFSMoverFile.java:125)
....
I was using VFS rc7 from the subversion repository tag.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
DO NOT REPLY [Bug 39152] - [VFS] sftp: Url parsing fails with special characters in password part
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39152>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39152
mario@ops.co.at changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Summary|[VFSrc7] sftp: Url parsing |[VFS] sftp: Url parsing
|fails with special |fails with special
|characters in password part |characters in password part
------- Additional Comments From mario@ops.co.at 2006-03-30 13:10 -------
Should be fixed now.
Thanks for reporting it.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
DO NOT REPLY [Bug 39152] - [VFSrc7] sftp: Url parsing fails with special characters in password part
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39152>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39152
------- Additional Comments From gernot.eger@t-mobile.at 2006-03-30 12:44 -------
Created an attachment (id=18005)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=18005&action=view)
JUnit Test to reproduce
that's what I use in my project to reproduce/ fix the bug
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org