From: Luca <lucatrv@hotmail.com>
To: "development@lists.ipfire.org" <development@lists.ipfire.org>
Cc: Michael Tremer <michael.tremer@ipfire.org>
Subject: Re: [PATCH] urlfilter.cgi: Add note on HTTP-only URL filtering
Date: Wed, 25 Nov 2026 22:21:25 +0000 [thread overview]
Message-ID: <9f8faf62933b2547cf42038989f81999eda54379.camel@hotmail.com> (raw)
In-Reply-To: <4EF90A75-6005-4AB7-A66F-105361CCA816@ipfire.org>
Dear Michael,
Thanks for your clarification and suggestion, I'll send a v2 shortly.
Regards,
Luca
On Wed, 2026-11-25 at 15:33 +0000, Michael Tremer wrote:
> 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 <lucatrv@hotmail.com> wrote:
> >
> > 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.
> >
> > Signed-off-by: Luca Trevisani <lucatrv@hotmail.com>
> > ---
> > html/cgi-bin/urlfilter.cgi | 10 ++++------
> > 1 file changed, 4 insertions(+), 6 deletions(-)
> >
> > 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 <<END
> > <table width='100%'>
> > <tr>
> > <td class='base' width='25%'>@{[ _('Enable Custom
> > Blacklist:') ]}</td>
> > - <td><input type='checkbox' name='ENABLE_CUSTOM_BLACKLIST'
> > $checked{'ENABLE_CUSTOM_BLACKLIST'}{'on'} /></td>
> > - <td> </td>
> > - <td> </td>
> > + <td width='25%'><input type='checkbox'
> > name='ENABLE_CUSTOM_BLACKLIST'
> > $checked{'ENABLE_CUSTOM_BLACKLIST'}{'on'} /></td>
> > + <td width='50%'><small><i>@{[ _('URL filtering works only
> > with HTTP connections, not with HTTPS connections.')
> > ]}</i></small></td>
> > </tr>
> > </table>
> > <hr size='1'>
> > @@ -1296,9 +1295,8 @@ print <<END
> > <table width='100%'>
> > <tr>
> > <td class='base' width='25%'>@{[ _('Enable Custom
> > Whitelist:') ]}</td>
> > - <td><input type='checkbox' name='ENABLE_CUSTOM_WHITELIST'
> > $checked{'ENABLE_CUSTOM_WHITELIST'}{'on'} /></td>
> > - <td> </td>
> > - <td> </td>
> > + <td width='25%'><input type='checkbox'
> > name='ENABLE_CUSTOM_WHITELIST'
> > $checked{'ENABLE_CUSTOM_WHITELIST'}{'on'} /></td>
> > + <td width='50%'><small><i>@{[ _('URL filtering works only
> > with HTTP connections, not with HTTPS connections.')
> > ]}</i></small></td>
> > </tr>
> > </table>
> > <hr size='1'>
> > --
> > 2.56.1.windows.1
> >
prev parent reply other threads:[~2026-11-25 22:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-22 16:22 Luca
2026-11-22 17:05 ` Peer Dietzmann
2026-11-22 17:35 ` Luca
2026-11-25 15:33 ` Michael Tremer
2026-11-25 22:21 ` Luca [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9f8faf62933b2547cf42038989f81999eda54379.camel@hotmail.com \
--to=lucatrv@hotmail.com \
--cc=development@lists.ipfire.org \
--cc=michael.tremer@ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox