You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: csharp/ql/src/experimental/Security Features/CWE-614/CookieWithoutSecure.qhelp
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,9 @@ cookies are sent via HTTP, not HTTPS.
15
15
In ASP.NET case when using cookies ensure that HTTPS is used by setting the property <code>Microsoft.AspNetCore.Http.CookieOptions.Secure</code> to <code>true</code>.
16
16
</p>
17
17
<p>
18
-
In ASP.NET Core case when using cookies, ensure that SSL is used, either via the <code><forms></code> attribute above, or
18
+
In ASP.NET Core case when using cookies, ensure that HTTPS is used, either via the <code><forms></code> attribute above, or
19
19
the <code><httpCookies></code> element, with the attribute <code>requireSSL="true"</code>. It is also possible to require cookies
20
-
to use SSL programmatically, by setting the property <code>System.Web.HttpCookie.Secure</code> to <code>true</code>.
20
+
to use HTTPS programmatically, by setting the property <code>System.Web.HttpCookie.Secure</code> to <code>true</code>.
21
21
</p>
22
22
</recommendation>
23
23
@@ -45,11 +45,11 @@ In the example below <code>System.Web.HttpCookie.Secure</code> is set to <code>t
0 commit comments