Reviewed: https://review.opendev.org/c/openstack/oslo.utils/+/824912 Committed: https://opendev.org/openstack/oslo.utils/commit/65aa4226d4bf286468da6df6759e364c1eb3e049 Submitter: "Zuul (22348)" Branch: stable/victoria
commit 65aa4226d4bf286468da6df6759e364c1eb3e049 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) (cherry picked from commit 143d3fbfa1e04778884de5acc08fa6f7fdabb265)
Reviewed: https:/ /review. opendev. org/c/openstack /oslo.utils/ +/824912 /opendev. org/openstack/ oslo.utils/ commit/ 65aa4226d4bf286 468da6df6759e36 4c1eb3e049
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/victoria
commit 65aa4226d4bf286 468da6df6759e36 4c1eb3e049
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) 8884de5acc08fa6 f7fdabb265)
Change-Id: I941750b4d49d2d
(cherry picked from commit 6e17ae1f7959c64
(cherry picked from commit 5ce8a7f0f8ecec7
(cherry picked from commit 143d3fbfa1e0477