Opened 14 years ago

Last modified 13 years ago

#1080 closed Bug report

QuickConnect does not trim the server name

Reported by: fcarlier Owned by: Alexander Schuch
Priority: normal Component: FileZilla Client
Keywords: Cc: fcarlier, Alexander Schuch
Component version: Operating system type:
Operating system version:

Description

When entering a server name (DNS name) that contains a
space, such as:

"dotnet15.hostbasket.com "

as opposed to

"dotnet15.hostbasket.com"

(without the quotes),

FileZilla will fail to connect.

Since domain names cannot end nor start with spaces,
the domain name entered in the textbox ("Address")
should be trimmed.

This bug is relevant because addresses may be copied
from the web and hence may include spaces (this is how
I hitted the bug).

Change History (1)

comment:1 Changed 13 years ago by Alexander Schuch

I tried this in FileZilla 3.0.0-beta4 and leading or terminating spaces get removed automatically when using the quick connect bar. As most work is done on that new version of FileZilla, this bug might never get fixed in FileZilla 2 anymore, if it is still present there.

Feel free to report back using the most recent version of FileZilla 2 (as I cannot test it myself here). You haven't given a version number, so I just assume you were not using the latest version, sorry if I were wrong.

Note: See TracTickets for help on using tickets.