public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Luca <lucatrv@hotmail.com>
To: "development@lists.ipfire.org" <development@lists.ipfire.org>
Cc: Michael Tremer <michael.tremer@ipfire.org>
Subject: [PATCH v2] urlfilter.cgi: Add note on HTTPS URL matching
Date: Wed, 25 Nov 2026 22:25:55 +0000	[thread overview]
Message-ID: <634ed7ff5f6f7620eb8495aeb33fac2c4b7aedd9.camel@hotmail.com> (raw)

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 for HTTPS connections
only the domain can be matched, not the full URL.

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..905dfda85 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>&nbsp;</td>
-        <td>&nbsp;</td>
+        <td width='25%'><input type='checkbox' name='ENABLE_CUSTOM_BLACKLIST' $checked{'ENABLE_CUSTOM_BLACKLIST'}{'on'} /></td>
+        <td width='50%'><small><i>@{[ _('For HTTPS connections only the domain can be matched, not the full URL.') ]}</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>&nbsp;</td>
-        <td>&nbsp;</td>
+        <td width='25%'><input type='checkbox' name='ENABLE_CUSTOM_WHITELIST' $checked{'ENABLE_CUSTOM_WHITELIST'}{'on'} /></td>
+        <td width='50%'><small><i>@{[ _('For HTTPS connections only the domain can be matched, not the full URL.') ]}</i></small></td>
 </tr>
 </table>
 <hr size='1'>
-- 
2.56.1.windows.1


                 reply	other threads:[~2026-11-25 22:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=634ed7ff5f6f7620eb8495aeb33fac2c4b7aedd9.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