Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@TyVik
Copy link
Contributor

@TyVik TyVik commented Apr 18, 2019

I develop HIPAA compliant application and I need to escape all PHI (Protected Health Information) like first name and last name. I override handlers and escape all parameters for the template string by default. Unfortunately, I see the first name and last name in the logs in debug mode because the first argument (format string) not escaping.
Could you please approve that PR which replace
log.debug('full name: {}'.format('John Smith')) to log.debug('full name: %s', 'John Smith'). It helps to escape John Smith in the logs like full name: **** *****.

@derek73 derek73 added this to the v1.0.3 milestone Apr 19, 2019
@derek73 derek73 merged commit 37fa297 into derek73:master Apr 19, 2019
@derek73
Copy link
Owner

derek73 commented Apr 19, 2019

No problem. Thanks for the pull request! This will go out with v1.0.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.