Bug 147835 - spaces at the beginnnig and end of server name not trimmed
Summary: spaces at the beginnnig and end of server name not trimmed
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: Jabber Plugin (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-13 09:23 UTC by Kartik Mohta
Modified: 2008-07-24 00:12 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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