We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d52fb9 commit 6a5e27dCopy full SHA for 6a5e27d
1 file changed
http/data_source.go
@@ -124,7 +124,7 @@ func isContentTypeAllowed(contentType string) bool {
124
for _, r := range allowedContentTypes {
125
if r.MatchString(parsedType) {
126
charset := strings.ToLower(params["charset"])
127
- return charset == "" || charset == "utf-8"
+ return charset == "" || charset == "utf-8" || charset == "us-ascii"
128
}
129
130
0 commit comments