mirror of
https://github.com/DefectingCat/rua-list
synced 2025-07-15 08:41:32 +00:00
Add do not handle non-utf8 headers
This commit is contained in:
@ -92,7 +92,7 @@ pub async fn headers_parser(port: usize) {
|
||||
Ok(c) => c,
|
||||
Err(err) => {
|
||||
error!("Failed to read headers {}", err);
|
||||
"".to_owned()
|
||||
return;
|
||||
}
|
||||
};
|
||||
let header: Vec<_> = header.split("\r\n").collect();
|
||||
|
Reference in New Issue
Block a user