After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 533465 - Evolution account editor accepts white space in host name as valid
Evolution account editor accepts white space in host name as valid
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.24.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2008-05-16 15:44 UTC by Ritesh Khadgaray ( irc:ritz)
Modified: 2013-09-13 00:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
strip space from hostname (761 bytes, patch)
2008-05-16 17:02 UTC, Ritesh Khadgaray ( irc:ritz)
committed Details | Review

Description Ritesh Khadgaray ( irc:ritz) 2008-05-16 15:44:24 UTC
Evolution does not strip out leading or trailing space from host name in account setting. As a result, when evolution tries to fetch email, Evolution fails to do so.

 it is safe to assume that white space would never be part of a host name. url setting as saved by evolution as seen from gconf key account setting 

  <url>pop://username@%20pop.mail.server.com%20/...
Comment 1 Ritesh Khadgaray ( irc:ritz) 2008-05-16 17:02:44 UTC
Created attachment 111004 [details] [review]
strip space from hostname
Comment 2 Matthew Barnes 2008-05-16 18:04:51 UTC
Looks correct.  Thanks.
Comment 3 Matthew Barnes 2008-05-19 15:46:15 UTC
Committed to trunk (revision 35511) and gnome-2-22 (revision 35512).