1
0
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:
Raymond Hill 2023-11-08 07:16:23 -05:00
parent eb52d46afa
commit 856e8de64c
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -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,