From 8d80f4788d1d6f50f809994d928a29d2e870b040 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Wed, 23 Nov 2022 12:55:20 -0500 Subject: [PATCH] Trim content of Import field Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/2380 --- src/js/3p-filters.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/3p-filters.js b/src/js/3p-filters.js index 74a885c2c..1d80d803d 100644 --- a/src/js/3p-filters.js +++ b/src/js/3p-filters.js @@ -368,7 +368,7 @@ const hashFromCurrentFromSettings = function() { hash.push( listHash.sort().join(), qs$('#importLists').checked && - reValidExternalList.test(qs$('#externalLists').value), + reValidExternalList.test(qs$('#externalLists').value.trim()), qs$('#lists .listEntry.toRemove') !== null ); return hash.join();