Fix a logic error in Redacted.
Previously it was redacting exactly when safelogging was disabled, which obviously isn't correct.
Fixes #671 (closed). Regression test included.
Previously it was redacting exactly when safelogging was disabled, which obviously isn't correct.
Fixes #671 (closed). Regression test included.