From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jZNwz2rnsz30K8 for ; Wed, 25 Nov 2026 15:33:07 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1 raw public key) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jZNwv5BJNz2xJG for ; Wed, 25 Nov 2026 15:33:03 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4jZNwt31j8z26T; Wed, 25 Nov 2026 15:33:02 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1795620782; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QKHZA2uD8CQOFJq1/KpDFVBM8FAYc4PtKbPjsylSVtY=; b=WaWDXz23RX7KSFJ7vO51Hd0iTS5HwIpaKMNaUkwvACNeB4tEmDufyDJGqT4ujZ8MN8LRwB +H9n5eTuvv7tN0Aw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1795620782; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QKHZA2uD8CQOFJq1/KpDFVBM8FAYc4PtKbPjsylSVtY=; b=MV1qLXhr7KtRT9u+vcii9urESpxYLHPgtGMXamOmSa/5Vbcy0Oi/rq+LIkgkNgTHRO5Hiu DkdaJvkQ3ymvmJ6hrSoBQ7vVBbpb2UKqM4uNt1j56Htkz83Nc9Uu7ja73+YX3AJR577cEg oIWDLJ2eps55WKa3Tx7DYq3+2OXZQ2I+sO2Jb1eBmjF1g3uoWxYXNuJeYPnOtP9MuuT0H+ 0oWOFefLnI4Vhn0Kig+lgah7/VlVgpIm+zkqNgZVQiuEpvO+raVVBU5UF3upBW/7+cI0YO KT0jVKmD/vgEJGt5jvSgUJ/4ul0gRzKzBPshNllOiNRMlreTzDQz7pZ4P3IGlQ== Content-Type: text/plain; charset=us-ascii Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: Mime-Version: 1.0 Subject: Re: [PATCH] urlfilter.cgi: Add note on HTTP-only URL filtering From: Michael Tremer In-Reply-To: Date: Wed, 25 Nov 2026 15:33:01 +0000 Cc: "development@lists.ipfire.org" Content-Transfer-Encoding: quoted-printable Message-Id: <4EF90A75-6005-4AB7-A66F-105361CCA816@ipfire.org> References: To: Luca Hello Luca, thanks for the patch and for taking the time to improve the UI. Unfortunately I cannot merge it, because the note is factually wrong: = the URL filter does work with HTTPS. For HTTPS connections the proxy = receives a CONNECT request that contains the destination host, so the = custom blacklist and whitelist are applied on a per-domain basis there = as well. What is not possible is matching on the path or the full URL, because = that part is inside the encrypted connection. If you would like to make = this clearer to users, a note along the lines of "For HTTPS connections = only the domain can be matched, not the full URL" would be accurate, and = I would be happy to look at a v2 with that. Best, -Michael > On 22 Nov 2026, at 16:22, Luca wrote: >=20 > Add a brief note next to the "Enable Custom Blacklist" and "Enable > Custom Whitelist" checkboxes, aligned under the "Blocked URLs" and > "Allowed URLs" fields, informing users that URL filtering works only > with HTTP connections and not with HTTPS connections. >=20 > Signed-off-by: Luca Trevisani > --- > html/cgi-bin/urlfilter.cgi | 10 ++++------ > 1 file changed, 4 insertions(+), 6 deletions(-) >=20 > diff --git a/html/cgi-bin/urlfilter.cgi b/html/cgi-bin/urlfilter.cgi > index 73ad85bfd..217a5ef8b 100644 > --- a/html/cgi-bin/urlfilter.cgi > +++ b/html/cgi-bin/urlfilter.cgi > @@ -1253,9 +1253,8 @@ print < > > > - > - > - > + > + > >
@{[ _('Enable Custom = Blacklist:') ]}  @{[ _('URL filtering works only = with HTTP connections, not with HTTPS connections.') ]}
>
> @@ -1296,9 +1295,8 @@ print < > > > - > - > - > + > + > >
@{[ _('Enable Custom = Whitelist:') ]}  @{[ _('URL filtering works only = with HTTP connections, not with HTTPS connections.') ]}
>
> --=20 > 2.56.1.windows.1 >=20