From 8dacbbbb157359447a07ea4562ab6447dacb5f06 Mon Sep 17 00:00:00 2001 From: Ivan Gabaldon Date: Fri, 24 Oct 2025 11:28:07 +0200 Subject: [fix] client/simple: insecure ctx clipboard copy Uses the deprecated [`execCommand()`](https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand) to copy content to clipboard if accessing the instance through HTTP, this method isn't going away soon. Closes https://github.com/searxng/searxng/issues/5359 --- searx/templates/simple/preferences/cookies.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searx/templates/simple/preferences') diff --git a/searx/templates/simple/preferences/cookies.html b/searx/templates/simple/preferences/cookies.html index 4b9d4687a..f3c74a2e9 100644 --- a/searx/templates/simple/preferences/cookies.html +++ b/searx/templates/simple/preferences/cookies.html @@ -51,7 +51,7 @@ {{- preferences_url_params|e }} {{- '' -}} - +

{{- _('Insert copied preferences hash (without URL) to restore') -}}:{{- '' -}} -- cgit v1.2.3