mirror of
https://github.com/github/codeql.git
synced 2026-05-01 19:55:15 +02:00
JS: Rename getAUseSite -> getRouteInstallation
This commit is contained in:
@@ -277,7 +277,7 @@ module Routing {
|
||||
}
|
||||
|
||||
/** Gets a place where this route node is installed as a route handler. */
|
||||
Node getAUseSite() {
|
||||
Node getRouteInstallation() {
|
||||
result = getAUseSiteInRouteSetup()
|
||||
or
|
||||
not exists(getAUseSiteInRouteSetup()) and
|
||||
|
||||
@@ -22,7 +22,7 @@ from
|
||||
Routing::Node useSite, ExpensiveRouteHandler r, string explanation, DataFlow::Node reference,
|
||||
string referenceLabel
|
||||
where
|
||||
useSite = Routing::getNode(r).getAUseSite() and
|
||||
useSite = Routing::getNode(r).getRouteInstallation() and
|
||||
r.explain(explanation, reference, referenceLabel) and
|
||||
not useSite.isGuardedByNode(any(RateLimitingMiddleware m).getRoutingNode())
|
||||
select useSite, "This route handler " + explanation + ", but is not rate-limited.", reference,
|
||||
|
||||
Reference in New Issue
Block a user