Skip to content

Commit

Permalink
fix: language lint
Browse files Browse the repository at this point in the history
  • Loading branch information
wyattjoh committed Aug 22, 2022
1 parent c562ba7 commit 5a61e0c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions errors/manifest.json
Expand Up @@ -731,8 +731,8 @@
"path": "/errors/middleware-parse-user-agent.md"
},
{
"title": "nonce-contained-illegal-characters",
"path": "/errors/nonce-contained-illegal-characters.md"
"title": "nonce-contained-invalid-characters",
"path": "/errors/nonce-contained-invalid-characters.md"
}
]
}
Expand Down
@@ -1,4 +1,4 @@
# nonce contained illegal characters
# nonce contained invalid characters

#### Why This Error Occurred

Expand Down
2 changes: 1 addition & 1 deletion packages/next/server/app-render.tsx
Expand Up @@ -1019,7 +1019,7 @@ export async function renderToHTMLOrFlight(
// extra layer.
if (nonce && ESCAPE_REGEX.test(nonce)) {
throw new Error(
'Nonce value from Content-Security-Policy contained HTML escape characters.\nLearn more: https://nextjs.org/docs/messages/nonce-contained-illegal-characters.md'
'Nonce value from Content-Security-Policy contained HTML escape characters.\nLearn more: https://nextjs.org/docs/messages/nonce-contained-invalid-characters.md'
)
}
}
Expand Down

0 comments on commit 5a61e0c

Please sign in to comment.