We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccd9d15 commit 8160711Copy full SHA for 8160711
packages/config-yaml/src/validation.ts
@@ -47,7 +47,7 @@ export function validateConfigYaml(
47
48
if (model.requestOptions?.headers) {
49
for (const [key, value] of Object.entries(model.requestOptions.headers)) {
50
- if (containsUnicode(value)) {
+ if (containsUnicode(key) || containsUnicode(value)) {
51
errors.push({
52
fatal: true,
53
message: `Model "${model.name}" has a request header "${key}" containing unicode characters. Request headers should only contain ASCII characters.`,
0 commit comments