Tracker: Plugin Bugs

5 @ in table name breaks FTP 0.9.0 - ID: 1697084
Last Update: Comment added ( olearyni )

I am trying to open a file with @ in it and it seems to be treating
everything before the @ as the user and everything after it as the server
name. FTP plugin 0.9.0 with jEdit 4.3pre9 and Java 6.

Example:

sftp://tomcat@brainsrv2.mitre.org:22/home/tomcat/tomcat8090/webapps/mrald/c
ustom/admin@mitre.org_1174312155901.xml

it's giving me:

[error] BrowserIORequest: java.io.IOException:
com.jcraft.jsch.JSchException: java.net.UnknownHostException:
mitre.org_1174312155901.xml
[error] BrowserIORequest: at ftp.SFtpConnection.<init>(Unknown Source)
[error] BrowserIORequest: at ftp.ConnectionManager.getConnection(Unknown
Source)
[error] BrowserIORequest: at ftp.FtpVFS.getConnection(Unknown Source)
[error] BrowserIORequest: at ftp.FtpVFS._listFiles(Unknown Source)
[error] BrowserIORequest: at
org.gjt.sp.jedit.browser.BrowserIORequest.listDirectory(BrowserIORequest.ja
va:159)
[error] BrowserIORequest: at
org.gjt.sp.jedit.browser.BrowserIORequest.run(BrowserIORequest.java:90)
[error] BrowserIORequest: at
org.gjt.sp.util.WorkThread.doRequest(WorkThread.java:203)
[error] BrowserIORequest: at
org.gjt.sp.util.WorkThread.doRequests(WorkThread.java:170)
[error] BrowserIORequest: at
org.gjt.sp.util.WorkThread.run(WorkThread.java:144)
[error] ErrorListDialog$ErrorEntry:
sftp://tomcat@brainsrv2.mitre.org:22/home/tomcat/tomcat8090/webapps/mrald/c
ustom/admin@mitre.org_1174312155901.xml/:
[error] ErrorListDialog$ErrorEntry: Cannot list directory:
java.io.IOException: com.jcraft.jsch.JSchException:
java.net.UnknownHostException: mitre.org_1174312155901.xml
[debug] WorkThread: Running in work thread:
[id=112,run=org.gjt.sp.jedit.browser.BrowserIORequest[type=LIST_DIRECTORY,v
fs=ftp.FtpVFS@1bfd53d,path1=sftp://tomcat@brainsrv2.mitre.org:22/home/tomca
t/tomcat8090/webapps/mrald/custom/admin@mitre.org_1174312155901.xml,path2=n
ull]]
[debug] ConnectionManager: Thread[jEdit I/O #4,1,jEdit I/O]: Connecting to
sftp://mitre.org_1174312155901.xml:22


Jeffrey Hoyt ( jchoyt ) - 2007-04-09 17:58

5

Closed

Fixed

Nobody/Anonymous

None

None

Public


Comment ( 1 )

Date: 2007-04-09 18:36
Sender: olearyniProject Admin


Fixed in svn #9416


Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2007-04-09 18:36 olearyni
resolution_id None 2007-04-09 18:36 olearyni
close_date - 2007-04-09 18:36 olearyni