public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] urlfilter.cgi: Add note on HTTP-only URL filtering
@ 2026-11-22 16:22 Luca
  2026-11-22 17:05 ` Peer Dietzmann
  0 siblings, 1 reply; 3+ messages in thread
From: Luca @ 2026-11-22 16:22 UTC (permalink / raw)
  To: development

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>&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>@{[ _('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>&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>@{[ _('URL filtering works only with HTTP connections, not with HTTPS connections.') ]}</i></small></td>
 </tr>
 </table>
 <hr size='1'>
-- 
2.56.1.windows.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-22 17:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-22 16:22 [PATCH] urlfilter.cgi: Add note on HTTP-only URL filtering Luca
2026-11-22 17:05 ` Peer Dietzmann
2026-11-22 17:35   ` Luca

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