Merge pull request #4141 from esbena/js/clarify-sanitization

JS: make sanitization a "common" technique rather than "important"
This commit is contained in:
Esben Sparre Andreasen
2020-08-27 08:08:17 +02:00
committed by GitHub
6 changed files with 41 additions and 7 deletions

View File

@@ -6,7 +6,7 @@
<overview>
<p>
Sanitizing untrusted URLs is an important technique for
Sanitizing untrusted URLs is a common technique for
preventing attacks such as request forgeries and malicious
redirections. Often, this is done by checking that the host of a URL
is in a set of allowed hosts.

View File

@@ -6,7 +6,7 @@
<overview>
<p>
Sanitizing untrusted URLs is an important technique for
Sanitizing untrusted URLs is a common technique for
preventing attacks such as request forgeries and malicious
redirections. Usually, this is done by checking that the host of a URL
is in a set of allowed hosts.