Skip to content

Commit 3850f87

Browse files
committed
Make qhelp for 'Incomplete URL substring sanitization' consistent across languages.
1 parent 6ddbed7 commit 3850f87

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

javascript/ql/src/Security/CWE-020/IncompleteUrlSubstringSanitization.qhelp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515

1616
<p>
1717

18-
However, it is notoriously error-prone to treat the URL as
19-
a string and check if one of the allowed hosts is a substring of the
20-
URL. Malicious URLs can bypass such security checks by embedding one
18+
However, treating the URL as a string and checking if one of the
19+
allowed hosts is a substring of the URL is very prone to errors.
20+
Malicious URLs can bypass such security checks by embedding one
2121
of the allowed hosts in an unexpected location.
2222

2323
</p>

python/ql/src/Security/CWE-020/IncompleteUrlSubstringSanitization.qhelp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@
1414
</p>
1515

1616
<p>
17-
18-
However, it is notoriously error-prone to treat the URL as
19-
a string and check if one of the allowed hosts is a substring of the
20-
URL. Malicious URLs can bypass such security checks by embedding one
17+
However, treating the URL as a string and checking if one of the
18+
allowed hosts is a substring of the URL is very prone to errors.
19+
Malicious URLs can bypass such security checks by embedding one
2120
of the allowed hosts in an unexpected location.
2221

2322
</p>

0 commit comments

Comments
 (0)