Skip to content

Commit cfc5629

Browse files
apply all doc fixes
Co-authored-by: hubwriter <[email protected]>
1 parent c34b089 commit cfc5629

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Set the <code>httpOnly</code> flag on all cookies that are not needed by the cli
2121
<example>
2222
<p>
2323
The following example stores an authentication token in a cookie that can
24-
viewed by the client.
24+
be viewed by the client.
2525
</p>
2626
<sample src="examples/ClientExposedCookieGood.js"/>
2727
<p>
@@ -34,7 +34,7 @@ attribute on the cookie.
3434
<references>
3535
<li>ExpressJS: <a href="https://expressjs.com/en/advanced/best-practice-security.html#use-cookies-securely">Use cookies securely</a>.</li>
3636
<li>OWASP: <a href="https://cheatsheetseries.owasp.org/cheatsheets/Nodejs_Security_Cheat_Sheet.html#set-cookie-flags-appropriately">Set cookie flags appropriately</a>.</li>
37-
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie">Set-Cookie</a>.</li>
37+
<li>Mozilla: <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie">Set-Cookie</a>.</li>
3838
</references>
3939

4040
</qhelp>

javascript/ql/src/Security/CWE-614/ClearTextCookie.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ attribute on the cookie.
3333
<references>
3434
<li>ExpressJS: <a href="https://expressjs.com/en/advanced/best-practice-security.html#use-cookies-securely">Use cookies securely</a>.</li>
3535
<li>OWASP: <a href="https://cheatsheetseries.owasp.org/cheatsheets/Nodejs_Security_Cheat_Sheet.html#set-cookie-flags-appropriately">Set cookie flags appropriately</a>.</li>
36-
<li><a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie">Set-Cookie</a>.</li>
36+
<li>Mozilla: <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie">Set-Cookie</a>.</li>
3737
</references>
3838
</qhelp>

0 commit comments

Comments
 (0)