Reviewed: https://review.opendev.org/c/openstack/oslo.utils/+/824703 Committed: https://opendev.org/openstack/oslo.utils/commit/143d3fbfa1e04778884de5acc08fa6f7fdabb265 Submitter: "Zuul (22348)" Branch: stable/wallaby
commit 143d3fbfa1e04778884de5acc08fa6f7fdabb265 Author: Hervé Beraud <email address hidden> Date: Wed Nov 3 17:16:50 2021 +0100
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 (cherry picked from commit 6e17ae1f7959c64dfd20a5f67edf422e702426aa) (cherry picked from commit 5ce8a7f0f8ecec7a85a23ec3d7a7fb1cad14ceba)
Reviewed: https:/ /review. opendev. org/c/openstack /oslo.utils/ +/824703 /opendev. org/openstack/ oslo.utils/ commit/ 143d3fbfa1e0477 8884de5acc08fa6 f7fdabb265
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit 143d3fbfa1e0477 8884de5acc08fa6 f7fdabb265
Author: Hervé Beraud <email address hidden>
Date: Wed Nov 3 17:16:50 2021 +0100
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 /bugs.launchpad .net/oslo. utils/+ bug/1949623
https:/
Closes-Bug: #1949623 75f0831b24d6dd1 7f4040f70a2 dfd20a5f67edf42 2e702426aa) a85a23ec3d7a7fb 1cad14ceba)
Change-Id: I941750b4d49d2d
(cherry picked from commit 6e17ae1f7959c64
(cherry picked from commit 5ce8a7f0f8ecec7