Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
hansott committed Oct 1, 2024
1 parent f454800 commit b48002a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sql_injection/detect_sql_injection_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ mod tests {
);
is_injection!(
"SELECT * FROM users WHERE id = '1'; DROP TABLE users; -- '",
"'1'; DROP TABLE users; --"
"1'; DROP TABLE users; -- "
);
is_injection!("SELECT * FROM users WHERE id = 1 OR 1=1", "1 OR 1=1");
}
Expand Down

0 comments on commit b48002a

Please sign in to comment.