mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Use encodeURIComponent() instead of encodeURI()
Related issue: - https://github.com/NanoAdblocker/NanoCore/issues/325
This commit is contained in:
parent
fb85bb20c8
commit
c56607fe27
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ const renderFilterLists = function(soft) {
|
|||
elem = li.querySelector('.listname');
|
||||
elem.textContent = listNameFromListKey(listKey);
|
||||
elem = li.querySelector('a.content');
|
||||
elem.setAttribute('href', 'asset-viewer.html?url=' + encodeURI(listKey));
|
||||
elem.setAttribute('href', 'asset-viewer.html?url=' + encodeURIComponent(listKey));
|
||||
elem.setAttribute('type', 'text/html');
|
||||
li.classList.remove('toRemove');
|
||||
if ( entry.supportName ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue