File tree Expand file tree Collapse file tree
csharp/ql/src/semmle/code
csharp/frameworks/microsoft Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,9 +86,7 @@ class HttpCookiesElement extends XMLElement {
8686 /**
8787 * Holds if there any chance that `httpOnlyCookies` is set to `true`.
8888 */
89- predicate isHttpOnlyCookies ( ) {
90- getHttpOnlyCookies ( ) = "true"
91- }
89+ predicate isHttpOnlyCookies ( ) { getHttpOnlyCookies ( ) = "true" }
9290
9391 string getRequireSSL ( ) { result = getAttribute ( "requireSSL" ) .getValue ( ) .trim ( ) .toLowerCase ( ) }
9492
Original file line number Diff line number Diff line change @@ -322,7 +322,8 @@ class MicrosoftAspNetCoreBuilderCookiePolicyOptions extends RefType {
322322/** The `Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions` class. */
323323class MicrosoftAspNetCoreAuthenticationCookiesCookieAuthenticationOptions extends RefType {
324324 MicrosoftAspNetCoreAuthenticationCookiesCookieAuthenticationOptions ( ) {
325- this .hasQualifiedName ( "Microsoft.AspNetCore.Authentication.Cookies" , "CookieAuthenticationOptions" )
325+ this .hasQualifiedName ( "Microsoft.AspNetCore.Authentication.Cookies" ,
326+ "CookieAuthenticationOptions" )
326327 }
327328}
328329
You can’t perform that action at this time.
0 commit comments