Re-add path methods that are user-controlled

This commit is contained in:
Harry Maclean
2022-10-14 13:18:21 +13:00
parent a3c14f7f46
commit 0130e4ba7f

View File

@@ -211,7 +211,10 @@ private module Request {
/** A method call on `request` which returns part or all of the request path. */
private class PathCall extends RequestInputAccess {
PathCall() { this.getMethodName() = ["path", "filtered_path"] }
PathCall() {
this.getMethodName() =
["path", "filtered_path", "fullpath", "original_fullpath", "original_url", "url"]
}
override Http::Server::RequestInputKind getKind() { result = Http::Server::urlInputKind() }
}