Opened 5 weeks ago

Closed 2 weeks ago

#13135 closed Bug report (rejected)

Incorrect error message "Invalid username given" when invalid host entered in Site Manager

Reported by: aheck Owned by:
Priority: normal Component: FileZilla Client
Keywords: Cc:
Component version: Operating system type: Windows
Operating system version: 11

Description (last modified by aheck)

When entering a site in Site Manager, if an invalid Host is provided, when attempting to click Connect or OK, the error message says "Invalid username given". To be clear, the error checking is fine, it is the error message that is incorrect.

Steps to reproduce:

  • Open site manager
  • Add new site
  • Enter in any User
  • Enter in any Password
  • Enter a Host name - include a @ at the *start* of your Host name
  • Click OK or Connect

Platform: Windows x64

[Discovered when being a lazy copy/paster]

Attachments (1)

Screenshot 2024-08-18 172953.png (36.7 KB ) - added by aheck 5 weeks ago.
Screenshot

Download all attachments as: .zip

Change History (5)

by aheck, 5 weeks ago

Screenshot

comment:1 by aheck, 5 weeks ago

Description: modified (diff)

comment:2 by Tim Kosse, 5 weeks ago

Resolution: rejected
Status: newclosed

Intended behavior.

Hostnames cannot contain @ character.

comment:3 by aheck, 2 weeks ago

Resolution: rejected
Status: closedreopened

This ticket was closed but the point was missed. It's not that hostnames cannot have an @ in their name, it's that when a hostname is invalid, the error message should state "Invalid hostname given". Instead the error message reads "Invalid username given".

comment:4 by Tim Kosse, 2 weeks ago

Resolution: rejected
Status: reopenedclosed

Everything before the @ is a username, usernames cannot empty, hence the message about the invalid username.

Note: See TracTickets for help on using tickets.