Skip to content

Commit f331b66

Browse files
committed
Per review: For v9 moved up moniker to avoid repeate of security section
1 parent 47eab6a commit f331b66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aspnetcore/web-api/jsonpatch/includes/jsonpatch9.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,7 @@ To test the sample, run the app and send HTTP requests with the following settin
531531
* Header: `Content-Type: application/json-patch+json`
532532
* Body: Copy and paste one of the JSON patch document samples from the *JSON* project folder.
533533

534+
:::moniker-end
534535
## Mitigating security risks
535536

536537
When using the `Microsoft.AspNetCore.JsonPatch` package with the `Newtonsoft.Json`-based implementation, it's critical to understand and mitigate potential security risks. The following sections outline the identified security risks associated with JSON Patch and provide recommended mitigations to ensure secure usage of the package.
@@ -585,4 +586,3 @@ public void Validate(JsonPatchDocument patch)
585586
* [IETF RFC 6901 JSON Patch path format spec](https://tools.ietf.org/html/rfc6901)
586587
* [ASP.NET Core JSON Patch source code](https://github.com/dotnet/AspNetCore/tree/main/src/Features/JsonPatch/src)
587588
588-
:::moniker-end

0 commit comments

Comments
 (0)