-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Update AntiXssEncoder.xml for issue 10378 #10379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -174,20 +174,20 @@ | |
| |0x0180 - 0x024F|Characters between 0x0180 (384 decimal) and 0x024F (591 decimal). (The Unicode [Latin-Extended-B](https://www.unicode.org/charts/PDF/U0180.pdf) character range.)| | ||
| |0x0250 - 0x02AF|Characters between 0x0250 (592 decimal) and 0x02AF (687 decimal). (The Unicode [IPA Extensions](https://www.unicode.org/charts/PDF/U0250.pdf) character range.)| | ||
| |0x02B0 - 0x02FF|Characters between 0x02B0 (688 decimal) and 0x02FF (767 decimal). (The Unicode [Spacing Modifier Letters](https://www.unicode.org/charts/PDF/U02B0.pdf) character range.)| | ||
| |0x0300 - 0x036F|Characters between 0x0300 (768 decimal) and 0x036F (879 decimal). (The Unicode [Combining Diacritical Marks](https://www.unicode.org/charts/PDF/U0300.pdf) character range.)| | ||
|
|
||
| The following table lists examples of inputs and the corresponding encoded outputs. | ||
|
|
||
| |Input examples| Encoded outputs| | ||
| |-|-| | ||
| |`alert('XSS Attack!');`|`alert('XSS Attack!');`| | ||
| |`<script>alert('XSS Attack!');</script>`|`<script>alert('XSS Attack!');</script>`| | ||
| |`alert('XSSあAttack!');`|`alert('XSSあAttack!');`| | ||
| |`[email protected]`|`[email protected]`| | ||
| |`"Anti-Cross Site Scripting Namespace"`|`"Anti-Cross Site Scripting Namespace"`| | ||
|
|
||
| To customize the safe list, call the <xref:System.Web.Security.AntiXss.AntiXssEncoder.MarkAsSafe%2A> method. | ||
|
|
||
| |0x0300 - 0x036F|Characters between 0x0300 (768 decimal) and 0x036F (879 decimal). (The Unicode [Combining Diacritical Marks](https://www.unicode.org/charts/PDF/U0300.pdf) character range.)| | ||
| The following table lists examples of inputs and the corresponding encoded outputs. | ||
| |Input examples| Encoded outputs| | ||
| |-|-| | ||
| |`alert('XSS Attack!');`|`alert('XSS Attack!');`| | ||
| |`<script>alert('XSS Attack!');</script>`|`<script>alert('XSS Attack!');</script>`| | ||
| |`alert('XSSあAttack!');`|`alert('XSSあAttack!');`| | ||
| |`[email protected]`|`[email protected]`| | ||
| |`"Anti-Cross Site Scripting Namespace"`|`"Anti-Cross Site Scripting Namespace"`| | ||
| To customize the safe list, call the <xref:System.Web.Security.AntiXss.AntiXssEncoder.MarkAsSafe%2A> method. | ||
| ]]></format> | ||
| </remarks> | ||
| </Docs> | ||
|
|
@@ -279,11 +279,11 @@ | |
|
|
||
| | Input | Output | | ||
| |------------------------------------------|---------------------------------------------------------------| | ||
| | `alert('XSS Attack!');` | `alert('XSS Attack!');` | | ||
| | `alert('XSS Attack!');` | `alert('XSS Attack!');` | | ||
| | `<script>alert('XSS Attack!');</script>` | `<script>alert('XSS Attack!');</script>` | | ||
| | `alert('XSSあAttack!');` | `alert('XSSあAttack!');` | | ||
| | `[email protected]` | `[email protected]` | | ||
| | `"Anti-Cross Site Scripting Namespace"` | `"Anti-Cross Site Scripting Namespace"` | | ||
| | `"Anti-Cross Site Scripting Namespace"` | `"Anti-Cross Site Scripting Namespace"` | | ||
|
|
||
| To customize the safe list, call the <xref:System.Web.Security.AntiXss.AntiXssEncoder.MarkAsSafe%2A> method. | ||
|
|
||
|
|
@@ -367,11 +367,11 @@ | |
|
|
||
| | Input | Output | | ||
| |-------|--------| | ||
| |`alert('XSS Attack!');`|`alert('XSS Attack!');`| | ||
| |`alert('XSS Attack!');`|`alert('XSS Attack!');`| | ||
| |`<script>alert('XSS Attack!');</script>`|`<script>alert('XSS Attack!');</script>`| | ||
| |`alert('XSSあAttack!');`|`alert('XSSあAttack!');`| | ||
| |`[email protected]`|`[email protected]`| | ||
| |`"Anti-Cross Site Scripting Namespace"`|`"Anti-Cross Site Scripting Namespace"`| | ||
| |`"Anti-Cross Site Scripting Namespace"`|`"Anti-Cross Site Scripting Namespace"`| | ||
|
|
||
| To customize the safe list, call the <xref:System.Web.Security.AntiXss.AntiXssEncoder.MarkAsSafe%2A> method. | ||
|
|
||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.