We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5d52fb9 + 6a5e27d commit 15be9c1Copy full SHA for 15be9c1
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