Merge pull request #178 from TeamPiped/fix-dearrow-crash

fix: LibreTube crashes when loading DeArrow thumbnails
This commit is contained in:
Bnyro 2024-05-06 12:37:40 +02:00 committed by GitHub
commit b92473d149
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"
)
}