Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add charset=utf-8 to content-type text/plain #497

Merged
merged 1 commit into from May 31, 2021

Conversation

akiomik
Copy link
Contributor

@akiomik akiomik commented May 29, 2021

memory_profiler reports may contain non-ASCII characters (e.g. Allocated String Report section), so if charset is not specified, the results in ?pp=profile-memory may be garbled.

Fixed this problem by specifying charset for Content-Type of text_result.

@SamSaffron
Copy link
Member

Change looks good, thanks for the fix!

@SamSaffron SamSaffron merged commit a93060e into MiniProfiler:master May 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants