Skip to content

Commit 59cc90e

Browse files
committed
move Regex into a ParseRegExp file, and rename the class to RegExp
1 parent 556bb41 commit 59cc90e

File tree

10 files changed

+1102
-1094
lines changed

10 files changed

+1102
-1094
lines changed

python/ql/lib/semmle/python/frameworks/Django.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2512,7 +2512,7 @@ module PrivateDjango {
25122512
any(int i | i < routeHandler.getFirstPossibleRoutedParamIndex() | routeHandler.getArg(i))
25132513
)
25142514
or
2515-
exists(DjangoRouteHandler routeHandler, DjangoRouteRegex regexUse, Regex regex |
2515+
exists(DjangoRouteHandler routeHandler, DjangoRouteRegex regexUse, RegExp regex |
25162516
regex.getAUse() = regexUse and
25172517
routeHandler = this.getARequestHandler() and
25182518
regexUse.getRouteSetup() = this

python/ql/lib/semmle/python/frameworks/Tornado.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ module Tornado {
423423
not result = requestHandler.getArg(0)
424424
)
425425
or
426-
exists(Function requestHandler, TornadoRouteRegex regexUse, Regex regex |
426+
exists(Function requestHandler, TornadoRouteRegex regexUse, RegExp regex |
427427
regex.getAUse() = regexUse and
428428
requestHandler = this.getARequestHandler() and
429429
regexUse.getRouteSetup() = this

0 commit comments

Comments
 (0)