public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH v2] urlfilter.cgi: Add note on HTTPS URL matching
@ 2026-11-25 22:25 Luca
  0 siblings, 0 replies; only message in thread
From: Luca @ 2026-11-25 22:25 UTC (permalink / raw)
  To: development; +Cc: Michael Tremer

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-25 22:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-25 22:25 [PATCH v2] urlfilter.cgi: Add note on HTTPS URL matching Luca

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox