Skip to content

Commit e33d303

Browse files
committed
Do not make unnecessary changes
1 parent e6c8a0b commit e33d303

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ predicate isGorillaSessionsCookieFlow(
7878
sessionSave2.asPathNode2()) and
7979
(
8080
not BoolToGorillaSessionOptionsTrackingFlow::flowTo(sink.getNode()) and
81-
source = options and
8281
sink = sessionSave2 and
82+
source = options and
8383
sessionSave.getNode() = sessionSave2.getNode()
8484
or
8585
BoolToGorillaSessionOptionsTrackingFlow::flowPath(source.asPathNode3(), sink.asPathNode3()) and

0 commit comments

Comments
 (0)