mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Update javascript/ql/src/experimental/SockJS/SockJS.qll
Fix comments Co-Authored-By: Erik Krogh Kristensen <erik-krogh@github.com>
This commit is contained in:
@@ -8,7 +8,6 @@ import javascript
|
||||
* A model of the `SockJS` websocket data handler (https://sockjs.org).
|
||||
*/
|
||||
module SockJS {
|
||||
class SourceFromSocketJS extends RemoteFlowSource {
|
||||
/**
|
||||
* Access to user-controlled data object received from websocket
|
||||
* For example:
|
||||
@@ -20,6 +19,7 @@ module SockJS {
|
||||
* });
|
||||
* ```
|
||||
*/
|
||||
class SourceFromSocketJS extends RemoteFlowSource {
|
||||
SourceFromSocketJS() {
|
||||
exists(
|
||||
DataFlow::CallNode createServer, DataFlow::CallNode connNode,
|
||||
|
||||
Reference in New Issue
Block a user