oslo.utils/releasenotes/notes/fix_mask_password_regex-c0661f95a23369a4.yaml
Hervé Beraud 6e17ae1f79 Fix regex used to mask password
Some use cases are poorly handled by the regex used
to mask password. Indeed when the password contains
quotes or double quotes in the middle such as `pass"word`,
the mask_password method will return `***"word`.

For more details please see
https://bugs.launchpad.net/oslo.utils/+bug/1949623

Closes-Bug: #1949623
Change-Id: I941750b4d49d2d75f0831b24d6dd17f4040f70a2
2022-01-11 15:25:40 +01:00

8 lines
242 B
YAML

---
fixes:
- |
Fix regex used to mask password. The ``strutils.mask_password``
function will now correctly handle passwords that contain
single or double quotes. Previously, only the characters before the
quote were masked.