We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2dc02b commit bb786bcCopy full SHA for bb786bc
javascript/ql/src/Security/CWE-1004/ClientExposedCookie.qhelp
@@ -23,12 +23,12 @@ Set the <code>httpOnly</code> flag on all cookies that are not needed by the cli
23
The following example stores an authentication token in a cookie that can
24
be viewed by the client.
25
</p>
26
-<sample src="examples/ClientExposedCookieGood.js"/>
+<sample src="examples/ClientExposedCookieBad.js"/>
27
<p>
28
To force the cookie to be transmitted using SSL, set the <code>secure</code>
29
attribute on the cookie.
30
31
-<sample src="examples/ClientExposedCookieBad.js"/>
+<sample src="examples/ClientExposedCookieGood.js"/>
32
</example>
33
34
<references>
0 commit comments