Skip to content

Commit bb786bc

Browse files
committed
fix good/bad mixup in ClientExposedCookie qhelp
1 parent b2dc02b commit bb786bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/ql/src/Security/CWE-1004/ClientExposedCookie.qhelp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ Set the <code>httpOnly</code> flag on all cookies that are not needed by the cli
2323
The following example stores an authentication token in a cookie that can
2424
be viewed by the client.
2525
</p>
26-
<sample src="examples/ClientExposedCookieGood.js"/>
26+
<sample src="examples/ClientExposedCookieBad.js"/>
2727
<p>
2828
To force the cookie to be transmitted using SSL, set the <code>secure</code>
2929
attribute on the cookie.
3030
</p>
31-
<sample src="examples/ClientExposedCookieBad.js"/>
31+
<sample src="examples/ClientExposedCookieGood.js"/>
3232
</example>
3333

3434
<references>

0 commit comments

Comments
 (0)