Skip to content

Commit cb7b1ef

Browse files
Update alert message
1 parent 9f5bfeb commit cb7b1ef

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

python/ql/src/Security/CWE-1004/NonHttpOnlyCookie.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ from Http::Server::CookieWrite cookie
1818
where
1919
cookie.hasHttpOnlyFlag(false) and
2020
cookie.isSensitive()
21-
select cookie, "Sensitive cookie is set without HttpOnly flag."
21+
select cookie, "Sensitive server cookie is set without HttpOnly flag."
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
| test.py:8:5:8:38 | ControlFlowNode for Attribute() | Sensitive cookie is set without HttpOnly flag. |
2-
| test.py:9:5:9:51 | ControlFlowNode for Attribute() | Sensitive cookie is set without HttpOnly flag. |
3-
| test.py:11:5:11:57 | ControlFlowNode for Attribute() | Sensitive cookie is set without HttpOnly flag. |
1+
| test.py:8:5:8:38 | ControlFlowNode for Attribute() | Sensitive server cookie is set without HttpOnly flag. |
2+
| test.py:9:5:9:51 | ControlFlowNode for Attribute() | Sensitive server cookie is set without HttpOnly flag. |
3+
| test.py:11:5:11:57 | ControlFlowNode for Attribute() | Sensitive server cookie is set without HttpOnly flag. |

0 commit comments

Comments
 (0)