1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-04 10:09:38 +02:00

Trim content of Import field

Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2380
This commit is contained in:
Raymond Hill 2022-11-23 12:55:20 -05:00
parent 3e4f6f9986
commit 8d80f4788d
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -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();