Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Add charset=utf-8 to Content-Type for html output #1312

Closed
jimjimovich opened this issue Sep 20, 2018 · 0 comments
Closed

Add charset=utf-8 to Content-Type for html output #1312

jimjimovich opened this issue Sep 20, 2018 · 0 comments

Comments

@jimjimovich
Copy link
Contributor

Buffalo currently sets the Content-Type header as follows:

Content-Type: text/html

According to the W3C, the character set should also be set for html content like this:

Content-Type: text/html; charset=utf-8

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants