Skip to content

Commit a76d476

Browse files
felicitymayaibaars
authored andcommitted
Replace references in Qhelp files
1 parent 8eeba92 commit a76d476

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

go/ql/src/Security/CWE-601/BadRedirectCheck.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Redirect URLs should be checked to ensure that user input cannot cause a site to
77
to arbitrary domains. This is often done with a check that the redirect URL begins with a slash,
88
which most of the time is an absolute redirect on the same host. However, browsers interpret URLs
99
beginning with <code>//</code> or <code>/\</code> as absolute URLs. For example, a redirect to
10-
<code>//lgtm.com</code> will redirect to <code>https://lgtm.com</code>. Thus, redirect checks must
10+
<code>//example.com</code> will redirect to <code>https://example.com</code>. Thus, redirect checks must
1111
also check the second character of redirect URLs.
1212
</p>
1313
</overview>

python/ql/src/Imports/SyntaxError.qhelp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ However, it is worth investigating why a module containing a syntax error
2626
was able to persist and address that problem as well.
2727
</p>
2828
<p>If you suspect that the syntax error is caused by the analysis using the
29-
wrong version of Python, consider specifying the version explicitly. For
30-
LGTM.com, you can customize extraction using an <code>lgtm.yml</code> file as
31-
described <a href="https://lgtm.com/help/lgtm/python-extraction">here</a>.
29+
wrong version of Python, consider specifying the version explicitly. When
30+
you run code scanning using the CodeQL action, you can configure the Python
31+
version to use. For more information, see
32+
<a href="https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#analyzing-python-dependencies">Analyzing Python dependencies</a>.
3233
</p>
3334
</recommendation>
3435
<references>

0 commit comments

Comments
 (0)