Skip to content

Commit ffac838

Browse files
Fix: microsoft - contoso example in <schemeSettings> page (#45665)
1 parent ece0b07 commit ffac838

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/framework/configure-apps/file-schema/network/schemesettings-element-uri-settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Specifies how a <xref:System.Uri> will be parsed for specific schemes.
5353

5454
For this reason, <xref:System.Uri?displayProperty=nameWithType> class first un-escapes path delimiters and then applies path compression. The result of passing the malicious URL above to <xref:System.Uri?displayProperty=nameWithType> class constructor results in the following URI:
5555

56-
`http://www.microsoft.com/Windows/System32/cmd.exe?/c+dir+c:\`
56+
`http://www.contoso.com/Windows/System32/cmd.exe?/c+dir+c:\`
5757

5858
This default behavior can be modified to not un-escape percent encoded path delimiters using the schemeSettings configuration option for a specific scheme.
5959

0 commit comments

Comments
 (0)