mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
11 lines
382 B
Plaintext
11 lines
382 B
Plaintext
import javascript
|
|
|
|
query predicate test_RouteSetup_handlesSameRequestMethodAs(
|
|
Express::RouteSetup rs, Express::RouteSetup rs2
|
|
) {
|
|
rs.handlesSameRequestMethodAs(rs2) and
|
|
rs.getLocation().getStartLine() < rs2.getLocation().getStartLine() and
|
|
rs.getLocation().getFile().getBaseName() = "csurf-example.js" and
|
|
rs2.getLocation().getFile().getBaseName() = "csurf-example.js"
|
|
}
|