Skip to content

Commit

Permalink
Fix typo in ASP.NET Core release notes for .NET 9 Preview 6 (#9397)
Browse files Browse the repository at this point in the history
  • Loading branch information
danroth27 committed Jul 9, 2024
1 parent a050a47 commit bf0542e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release-notes/9.0/preview/preview6/aspnetcore.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Here's a summary of what's new in ASP.NET Core in this preview release:
- [Fingerprinting of static web assets](#fingerprinting-of-static-web-assets)
- [Improved distributed tracing for SignalR](#improved-distributed-tracing-for-signalr)
- [Enhancements to Microsoft.AspNetCore.OpenAPI](#enhancements-to-microsoftaspnetcoreopenapi)
- [Analyzer to warn when `[Authorize]` is overridden by `[AllowAnymous]`](#analyzer-to-warn-when-authorize-is-overridden-by-allowanymous-from-farther-away)
- [Analyzer to warn when `[Authorize]` is overridden by `[AllowAnonymous]`](#analyzer-to-warn-when-authorize-is-overridden-by-allowanonymous-from-farther-away)
- [`ComponentPlatform` renamed to `RendererInfo`](#componentplatform-renamed-to-rendererinfo)
- [Split large HTTP/2 headers across frames](#split-large-http2-headers-across-frames)

Expand Down Expand Up @@ -226,7 +226,7 @@ class Todo
}
```

## Analyzer to warn when `[Authorize]` is overridden by `[AllowAnymous]` from farther away
## Analyzer to warn when `[Authorize]` is overridden by `[AllowAnonymous]` from farther away

The `[Authorize]` attribute is commonly used on controllers and actions to require authorization. The `[AllowAnonymous]` attribute can then be used to allow anonymous access when authorization would otherwise be required. However, once anonymous access has been enabled, applying the `[Authorize]` attribute does not then reenable authorization. Incorrectly assuming that applying `[Authorize]` closer to an action than [AllowAnonymous] will still force authorization can lead to possible security bugs. For example:

Expand Down

0 comments on commit bf0542e

Please sign in to comment.