Bug 5963 - Trailing whitespace in username causes authentication to fail in the HTML5 client
Summary: Trailing whitespace in username causes authentication to fail in the HTML5 cl...
Status: CLOSED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Web Access (show other bugs)
Version: trunk
Hardware: PC All
: P2 Normal
Target Milestone: 4.7.0
Assignee: Samuel Mannehed
URL:
Keywords: derfian_tester, prosaic
Depends on:
Blocks:
 
Reported: 2016-08-19 19:25 CEST by Samuel Mannehed
Modified: 2016-09-23 10:11 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Samuel Mannehed cendio 2016-08-19 19:25:57 CEST
For the HTML5 client, if a user have trailing whitespace after the username, the login will fail. In the native clients we strip trailing whitespace from the username and server input fields. We should do this for the username field in the login form for the HTML5 client as well.
Comment 2 Karl Mikaelsson cendio 2016-08-22 13:08:39 CEST
I started with verifying the problem on ThinLinc 4.6.0 and I can
confirm that both leading and trailing whitespace in the username will
make the authentication fail.

Verified with a nightly build that I can still log in:

- when a username is entered with a trailing space or tab
- when a username is entered with a leading space or tab

Note You need to log in before you can comment on or make changes to this bug.