mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
Apply suggestions from code review
This commit is contained in:
@@ -167,7 +167,7 @@ fn test_biscotti() {
|
||||
cookies.insert(i.clone().make_permanent()); // $ Alert[rust/insecure-cookie]
|
||||
}
|
||||
|
||||
fn test_qhelp_examples() {use cookie::Cookie;
|
||||
fn test_qhelp_examples() {
|
||||
{
|
||||
// BAD: creating a cookie without specifying the `secure` attribute
|
||||
let cookie = Cookie::build(("session", "abcd1234")).build(); // $ Alert[rust/insecure-cookie]
|
||||
|
||||
Reference in New Issue
Block a user