Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348890 - Remote tools connection fails if hostname ends with whitespace
Summary: Remote tools connection fails if hostname ends with whitespace
Status: CLOSED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Remote Tools (show other bugs)
Version: 5.0   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: 5.0   Edit
Assignee: Greg Watson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-09 09:21 EDT by Greg Watson CLA
Modified: 2011-06-09 11:42 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Watson CLA 2011-06-09 09:21:58 EDT
If the hostname specified in a remote tools connection ends with whitespace, the connection fails with the following message:

	Session.connect: java.io.InterruptedIOException: A timeout occurred connecting to host <host_name>.
Comment 1 Greg Watson CLA 2011-06-09 11:42:15 EDT
Hostname with whitespace was beeing passed to jsch. Added trim() to all getString() methods.

Fixed in HEAD.