Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion javascript/frameworks/ui5/ext/qlpack.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
library: true
name: advanced-security/javascript-sap-ui5-models
version: 0.5.0
version: 0.6.0
extensionTargets:
codeql/javascript-all: "^0.8.7"
dataExtensions:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,18 @@ private class RouteParameterAccess extends RemoteFlowSource instanceof PropRead
}
}

private class DisplayEventHandlerParameterAccess extends RemoteFlowSource instanceof PropRead {
override string getSourceType() { result = "DisplayEventHandlerParameterAccess" }

DisplayEventHandlerParameterAccess() {
exists(DisplayEventHandler handler, MethodCallNode getParameterCall |
getParameterCall.getMethodName() = "getParameter" and
this.getBase().getALocalSource() = getParameterCall and
handler.getParameter(0) = getParameterCall.getReceiver().getALocalSource()
)
}
}

/**
* Method calls that fetch a piece of data either from a library control capable of accepting user input, or from a URI parameter.
*/
Expand Down
Loading