Skip to content

Commit db0f10a

Browse files
authored
Force .txt and .text to have UTF-8 MIME charset (#1133)
1 parent 2377900 commit db0f10a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Distribution/Server/Framework/HappstackUtils.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ mime x =
8181
, ("chs", "text/plain; charset=utf-8")
8282
, ("c", " text/plain; charset=utf-8")
8383
, ("h", " text/plain; charset=utf-8")
84+
, ("text", "text/plain; charset=utf-8")
85+
, ("txt", "text/plain; charset=utf-8")
8486
]
8587

8688

0 commit comments

Comments
 (0)