Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 84bc904

Browse files
committed
import all the frameworks that extend RegexString
1 parent 1da94e1 commit 84bc904

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

python/ql/lib/semmle/python/regex.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,11 @@ deprecated string mode_from_mode_object(Value obj) {
109109
)
110110
}
111111

112+
// importing all the frameworks that extend `RegexString`.
113+
private import semmle.python.frameworks.Django as Django1
114+
private import semmle.python.frameworks.Tornado as Tornado1
115+
private import semmle.python.web.django.General as Django2
116+
112117
/** A StrConst used as a regular expression */
113118
abstract class RegexString extends Expr {
114119
RegexString() { (this instanceof Bytes or this instanceof Unicode) }

0 commit comments

Comments
 (0)