Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: a14d536c68cf198990238fcb999c985745962650
https://github.com/tribe29/checkmk/commit/a14d536c68cf198990238fcb999c98574…
Author: Hannes Rantzsch <hannes.rantzsch(a)tribe29.com>
Date: 2022-11-23 (Wed, 23 Nov 2022)
Changed paths:
A .werks/14392
M cmk/gui/wato/pages/users.py
Log Message:
-----------
14392 FIX Consistently handle white-space in passwords
Previously it was not possible to set user passwords starting with or
ending on white-space characters in the Edit Users UI. This is now
possible.
White-space characters at be beginning or end of passwords were stripped
in the Edit Users interface. For example, the password "insecure example
" would have been accepted by the interface, but modified to "insecure
example". As a result, users might have ended up with a different
password than they expected and been unable to log in.
White-spaces in passwords are now no longer stripped, so the password
"insecure example " can be set and used.
Note that the user's Change Password interface, reachable via the User
Profile section, was not affected by this and has already allowed
passwords starting with or ending on white-space characters.
Change-Id: I93a597641c47afa9b4170e9789736a5c1d0633c9