Skip to content

Commit 0920907

Browse files
authored
Update Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.md
Fix typos and markdown issues
1 parent 3ae17e8 commit 0920907

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,11 +167,11 @@ The Fetch Metadata request headers are:
167167

168168
If any of headers above contain values not listed in the specification, in order to support forward-compatibility, servers should ignore those headers.
169169

170-
**Ease of use**
170+
#### Ease of use
171171

172172
Unlike [synchronizer tokens](#synchronizer-token-pattern) or [double-submit patterns](#alternative-using-a-double-submit-cookie-pattern) — which require additional client/server coordination and are easy to misimplement — Fetch Metadata checks are straightforward to implement correctly. They typically require only a small amount of server-side logic (inspect Sec-Fetch-Site, optionally refine with Sec-Fetch-Mode/Sec-Fetch-Dest) and no client changes. That simplicity reduces complexity, making the approach attractive for many applications.
173173

174-
**Browser compatability**
174+
#### Browser compatibility
175175

176176
Fetch Metadata request headers are supported in most modern browsers on both desktop and mobile (Chrome, Edge, Firefox, Safari 16.4+, and even in webviews on both iOS and Android). For compatibility detail, see the [browser support table](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site#browser_compatibility).
177177

0 commit comments

Comments
 (0)