autoformat

This commit is contained in:
Erik Krogh Kristensen
2021-10-28 16:02:36 +02:00
parent 0372ccce02
commit c34b089bc5

View File

@@ -79,9 +79,7 @@ private predicate canHaveSensitiveCookie(DataFlow::Node node) {
* `<cookie-name>=<cookie-value>; Domain=<domain-value>; Secure; HttpOnly`
*/
bindingset[s]
private string getCookieName(string s) {
result = s.regexpCapture("([^=]*)=.*", 1).trim()
}
private string getCookieName(string s) { result = s.regexpCapture("([^=]*)=.*", 1).trim() }
/**
* Holds if the `Set-Cookie` header value contains the specified attribute