File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
csharp/ql/src/semmle/code
csharp/frameworks/microsoft Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -86,9 +86,7 @@ class HttpCookiesElement extends XMLElement {
86
86
/**
87
87
* Holds if there any chance that `httpOnlyCookies` is set to `true`.
88
88
*/
89
- predicate isHttpOnlyCookies ( ) {
90
- getHttpOnlyCookies ( ) = "true"
91
- }
89
+ predicate isHttpOnlyCookies ( ) { getHttpOnlyCookies ( ) = "true" }
92
90
93
91
string getRequireSSL ( ) { result = getAttribute ( "requireSSL" ) .getValue ( ) .trim ( ) .toLowerCase ( ) }
94
92
Original file line number Diff line number Diff line change @@ -322,7 +322,8 @@ class MicrosoftAspNetCoreBuilderCookiePolicyOptions extends RefType {
322
322
/** The `Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationOptions` class. */
323
323
class MicrosoftAspNetCoreAuthenticationCookiesCookieAuthenticationOptions extends RefType {
324
324
MicrosoftAspNetCoreAuthenticationCookiesCookieAuthenticationOptions ( ) {
325
- this .hasQualifiedName ( "Microsoft.AspNetCore.Authentication.Cookies" , "CookieAuthenticationOptions" )
325
+ this .hasQualifiedName ( "Microsoft.AspNetCore.Authentication.Cookies" ,
326
+ "CookieAuthenticationOptions" )
326
327
}
327
328
}
328
329
You can’t perform that action at this time.
0 commit comments