mirror of
https://github.com/RightNow-AI/openfang.git
synced 2026-07-30 06:32:17 +00:00
chore(clippy): fix warning
This commit is contained in:
@@ -518,7 +518,7 @@ mod tests {
|
||||
let allow = vec!["*.example.com".to_string()];
|
||||
assert!(check_ssrf("http://api.example.com", &allow).is_ok());
|
||||
// Non-matching domain should still go through normal checks
|
||||
assert!(is_host_allowed("other.net", &allow) == false);
|
||||
assert!(!is_host_allowed("other.net", &allow));
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user