From 5e8c12eb4a56fec901f5f3a4914a79dbe2a2e117 Mon Sep 17 00:00:00 2001 From: Tomoki Miyauchi Date: Tue, 11 Apr 2023 11:40:55 +0900 Subject: [PATCH] docs: fix typo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9966f42..e83e860 100644 --- a/README.md +++ b/README.md @@ -144,11 +144,11 @@ const response = await middleware(request, handler); assert(response.headers.has("content-security-policy-report-only")); ``` -### Serializing error +### Serialization error [CSP directives](#csp-directives) will serialize into string. -In Serializing, the directive name and directive value are validated based on +In Serialization, the directive name and directive value are validated based on [ABNF](https://w3c.github.io/webappsec-csp/#framework-directives). If they are invalid, an error may be thrown.