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 0372ccc commit c34b089Copy full SHA for c34b089
javascript/ql/lib/semmle/javascript/frameworks/CookieLibraries.qll
@@ -79,9 +79,7 @@ private predicate canHaveSensitiveCookie(DataFlow::Node node) {
79
* `<cookie-name>=<cookie-value>; Domain=<domain-value>; Secure; HttpOnly`
80
*/
81
bindingset[s]
82
-private string getCookieName(string s) {
83
- result = s.regexpCapture("([^=]*)=.*", 1).trim()
84
-}
+private string getCookieName(string s) { result = s.regexpCapture("([^=]*)=.*", 1).trim() }
85
86
/**
87
* Holds if the `Set-Cookie` header value contains the specified attribute
0 commit comments