mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Diff-updater: report URL without the hash part
This commit is contained in:
parent
eb52d46afa
commit
856e8de64c
1 changed files with 1 additions and 0 deletions
|
|
@ -202,6 +202,7 @@ async function fetchPatchDetailsFromCDNs(assetDetails) {
|
||||||
const patchDetails = parsePatch(patchText);
|
const patchDetails = parsePatch(patchText);
|
||||||
if ( patchURL.hash.length > 1 ) {
|
if ( patchURL.hash.length > 1 ) {
|
||||||
assetDetails.diffName = patchURL.hash.slice(1);
|
assetDetails.diffName = patchURL.hash.slice(1);
|
||||||
|
patchURL.hash = '';
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
patchURL: patchURL.href,
|
patchURL: patchURL.href,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue