mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-04 16:47:15 +02:00
Diff-updater: report URL without the hash part
This commit is contained in:
parent
eb52d46afa
commit
856e8de64c
@ -202,6 +202,7 @@ async function fetchPatchDetailsFromCDNs(assetDetails) {
|
||||
const patchDetails = parsePatch(patchText);
|
||||
if ( patchURL.hash.length > 1 ) {
|
||||
assetDetails.diffName = patchURL.hash.slice(1);
|
||||
patchURL.hash = '';
|
||||
}
|
||||
return {
|
||||
patchURL: patchURL.href,
|
||||
|
Loading…
Reference in New Issue
Block a user