From 7320cd0b22d31693bad8b19e84d5f565adad2647 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Mon, 6 May 2024 12:32:58 +0200 Subject: [PATCH] fix: LibreTube crashes when loading DeArrow thumbnails --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index 1b2264e..9128d3e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -124,6 +124,8 @@ fn is_header_allowed(header: &str) -> bool { | "x-real-ip" | "origin" | "referer" + // the 'x-title' header contains non-ascii characters which is not allowed on some HTTP clients + | "x-title" ) }