Skip to content

Commit ac777d2

Browse files
edvraaowen-mc
authored andcommitted
autoformat
1 parent 0456d47 commit ac777d2

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

ql/src/experimental/CWE-1004/CookieWithoutHttpOnly.ql

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ predicate isGorillaSessionsCookieFlow(DataFlow::PathNode source, DataFlow::PathN
4949
source = cookieStoreCreate and
5050
sink = sessionSave
5151
or
52-
exists(GorillaSessionOptionsTrackingConfiguration cfg, DataFlow::PathNode options, DataFlow::PathNode sessionSave2 |
52+
exists(
53+
GorillaSessionOptionsTrackingConfiguration cfg, DataFlow::PathNode options,
54+
DataFlow::PathNode sessionSave2
55+
|
5356
cfg.hasFlowPath(options, sessionSave2) and
5457
(
5558
not any(BoolToGorillaSessionOptionsTrackingConfiguration boolCfg)
@@ -58,7 +61,10 @@ predicate isGorillaSessionsCookieFlow(DataFlow::PathNode source, DataFlow::PathN
5861
source = options and
5962
sessionSave.getNode() = sessionSave2.getNode()
6063
or
61-
exists(BoolToGorillaSessionOptionsTrackingConfiguration boolCfg, DataFlow::PathNode sessionSave3 |
64+
exists(
65+
BoolToGorillaSessionOptionsTrackingConfiguration boolCfg,
66+
DataFlow::PathNode sessionSave3
67+
|
6268
boolCfg.hasFlowPath(source, sessionSave3) and
6369
source.getNode().getBoolValue() = false and
6470
sink = sessionSave3 and

0 commit comments

Comments
 (0)