Apply suggestions from code review

Co-Authored-By: mc <42146119+mchammer01@users.noreply.github.com>
This commit is contained in:
Esben Sparre Andreasen 2020-04-27 12:37:39 +02:00 коммит произвёл GitHub
Родитель 0a8e371b0e
Коммит c0250894de
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -9,8 +9,8 @@
Sanitizing untrusted input for HTML meta-characters is an important
technique for preventing cross-site scripting attacks. Usually, this
is done by escaping <code>&lt;</code>, <code>&gt;</code>,
<code>&amp;</code> and <code>&quot;</code>. But the context in which
the sanitized value is used decides which characters that actually
<code>&amp;</code> and <code>&quot;</code>. However, the context in which
the sanitized value is used decides the characters that
need to be sanitized.
</p>
@ -59,7 +59,7 @@
<p>
Sanitizing the user-controlled data for
<code>&quot;</code> prevents the vulnerability:
<code>&quot;</code> helps prevent the vulnerability:
</p>