From 9773590f642fddcf78ddf42414374974c340ebf6 Mon Sep 17 00:00:00 2001 From: Simon Date: Sun, 5 Apr 2026 16:18:53 +0000 Subject: [PATCH] small adjustment to ph thumb proxy --- src/providers/pornhub.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/providers/pornhub.rs b/src/providers/pornhub.rs index f8429aa..8860a35 100644 --- a/src/providers/pornhub.rs +++ b/src/providers/pornhub.rs @@ -926,8 +926,8 @@ impl PornhubThumbPolicy { return false; } let Some(host) = url.host_str() else { return false; }; - // Allow official Pornhub hosts and their CDN hosts - host.contains("phncdn") || host.ends_with("pornhub.com") + // Only allow the specific Pornhub CDN host used for thumbnails + host.eq_ignore_ascii_case("pix-cdn77.phncdn.com") } }