[v2] urlfilter.cgi: Add note on HTTPS URL matching

Message ID 634ed7ff5f6f7620eb8495aeb33fac2c4b7aedd9.camel@hotmail.com
State New
Headers
Series [v2] urlfilter.cgi: Add note on HTTPS URL matching |

Commit Message

Luca 25 Nov 2026, 10:25 p.m. UTC
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(-)
  

Patch

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'>