Repository navigation
Commit 61baec0
XmlDocument DOM docs: note XmlResolver=null for untrusted XML (#55982)
* docs: note XmlResolver=null for untrusted XML in XmlDocument guidance
Adds a short IMPORTANT callout to the two pages that walk through
XmlDocument loading without mentioning external-resolution safety:
- resolving-external-resources.md
- reading-an-xml-document-into-the-dom.md
Both point at CA3075 for details. Style matches the existing
> [!IMPORTANT] callouts already used in this folder (e.g. in
xslt-security-considerations.md).
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
* Revise XmlDocument security guidelines for untrusted XML
Updated security recommendations for handling untrusted XML sources in XmlDocument methods.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Bill Wagner <wiwagn@microsoft.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>1 parent 4703933 commit 61baec0
2 files changed
Lines changed: 6 additions & 0 deletions
File tree
- docs/standard/data/xml
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
0 commit comments