Skip to content

Commit 0893990

Browse files
committed
fix(web): Missing early return on bad content type
1 parent bc56e49 commit 0893990

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/src/web/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ async fn fetch_favicon(url: &str, favicon_path: &Path, client: &Client) -> Optio
217217
content_type,
218218
favicon_path
219219
);
220+
return None;
220221
};
221222

222223
match response.bytes().await {

0 commit comments

Comments
 (0)