Python: Don't treat re.escape(...) as a regex

Fixes https://github.com/github/codeql/issues/3712
This commit is contained in:
Rasmus Wriedt Larsen
2020-06-15 11:54:14 +02:00
parent 7601bd497e
commit c0043eb9db
5 changed files with 2 additions and 87 deletions

View File

@@ -1,2 +1 @@
| hosttest.py:6:27:6:51 | Str | This regular expression has an unescaped '.' before 'example.com', so it might match more hosts than expected. |
| hosttest.py:23:21:23:63 | Str | This regular expression has an unescaped '.' before 'humblebundle.com', so it might match more hosts than expected. |