Fixes docs for directoryBrowse enabled examples - #22419
Conversation
There was a problem hiding this comment.
Pull request overview
Corrects the IIS directoryBrowse attribute documentation for issue #22418.
Changes:
- Replaces
enablewithenabledin examples and guidance. - Updates the reference to Microsoft Learn.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
Web.config.good |
Corrects the disabled configuration example. |
Web.config.bad |
Corrects the enabled configuration example. |
ASPNetDirectoryListing.qhelp |
Updates guidance and reference documentation. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
|
QHelp previews: csharp/ql/src/Security Features/CWE-548/ASPNetDirectoryListing.qhelpASP.NET config file enables directory browsingASP.NET applications that enable directory browsing can leak sensitive information to an attacker. The precise nature of the vulnerability depends on which files are listed and accessible. RecommendationIf this configuration may be used in production, remove the ExampleThe following example shows the To fix this problem, the References
|
Fixes #22418