Comment 10 for bug 1949623

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.utils (stable/victoria)

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)