Bug 1567186: More thorough checking for passwords in stacktraces
Rather than having an increasing list of specific parameters
that we know to have passwords, this patch censors the content
of any parameter with a name that contains the string "password"
or "pw".
behatnotneeded: Can't test with Behat
Change-Id: Ifaa2ec10cf749c173b1a8d0928c6cc052124a83f
(cherry picked from commit ae4523770e5047d9c9fd17c38f5cdddf86ece437)
Reviewed: https:/ /reviews. mahara. org/6388 /git.mahara. org/mahara/ mahara/ commit/ b77bd3479d81b85 fbb7e025ff01b6a ce2dd5ab17
Committed: https:/
Submitter: Aaron Wells (<email address hidden>)
Branch: 1.10_STABLE
commit b77bd3479d81b85 fbb7e025ff01b6a ce2dd5ab17
Author: Aaron Wells <email address hidden>
Date: Thu Apr 14 19:07:46 2016 +1200
Bug 1567186: More thorough checking for passwords in stacktraces
Rather than having an increasing list of specific parameters
that we know to have passwords, this patch censors the content
of any parameter with a name that contains the string "password"
or "pw".
behatnotneeded: Can't test with Behat
Change-Id: Ifaa2ec10cf749c 173b1a8d0928c6c c052124a83f 9c9fd17c38f5cdd df86ece437)
(cherry picked from commit ae4523770e5047d