Bug 147835

Summary: spaces at the beginnnig and end of server name not trimmed
Product: [Unmaintained] kopete Reporter: Kartik Mohta <kartikmohta>
Component: Jabber PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kartik Mohta 2007-07-13 09:23:40 UTC
Version:           0.12.5 (using KDE 3.5.7, Kubuntu (gutsy) 4:3.5.7-1ubuntu8)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.22-7-generic

While connecting to gtalk using kopete, by mistake I put the server name as "talk.google.com " (without the quotes). While connecting kopete gave me a host not found error. This happens even if there is an extra space at the beginning of the server name.
Comment 1 Florian Reinhard 2008-07-11 23:42:32 UTC
can confirm that on svn trunk r829217 (~4.1-beta2)
Comment 2 Michael 2008-07-22 20:08:19 UTC
kopete(23235)/kopete (jabber) JabberByteStream::JabberByteStream: Instantiating new Jabber byte stream.
kopete(23235)/kopete (jabber) JabberConnector::setOptSSL: Setting SSL to  true
kopete(23235)/kopete (jabber) JabberConnector::setOptHostPort: Manually specifying host  "  talk.google.com"  and port  5223
kopete(23235)/kopete (jabber) JabberByteStream::close: Closing stream.
kopete(23235)/kopete (jabber) JabberConnector::connectToServer: Initiating connection to  "googlemail.com"
kopete(23235)/kopete (jabber) JabberByteStream::connect:  Connecting to  "  talk.google.com" , port  5223

confirmed with kopete 	svn trunk r836553
Comment 3 Alexander Rieder 2008-07-24 00:12:00 UTC
fixed in commit 837138