Skip to content

Commit c4b47d9

Browse files
authored
Update xml/System/Uri.xml
1 parent 931c8fc commit c4b47d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

xml/System/Uri.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2888,7 +2888,7 @@ The following examples show a URI and the results of calling <xref:System.Uri.Ge
28882888
<xref:System.Uri.IsLoopback*> returns `true` if the URI specified when this instance was created was 127.0.0.1, loopback, or localhost, or if the URI did not specify host information (for example, file:///c:Dir/file.txt). All other URIs return `false`.
28892889
28902890
> [!WARNING]
2891-
> This property alone doesn't guarantee that a request doesn't target local resources. A host can resolve to a local address, even though this property returns `false`. Use other mitigations to protect against server-side request forgery (SSRF).
2891+
> This property alone doesn't guarantee that a request avoids local resources. A host can resolve to a loopback or private IP address even when this property returns `false`. Use other mitigations to protect against server-side request forgery (SSRF).
28922892
28932893
## Examples
28942894
The following example creates a <xref:System.Uri> instance and determines whether it references a local host.

0 commit comments

Comments
 (0)