This commit is contained in:
biglyderv 2025-02-01 13:40:51 -05:00
parent 8e822aba75
commit 6a6bfab5f6

View file

@ -48,6 +48,15 @@ async function urlCollector(url, path, file, useLimit, data2) {
u.pathname = h; u.pathname = h;
h = u.toString(); h = u.toString();
} }
if (h.startsWith('?')) {
let u = new URL(url);
u.search = h;
h = u.toString();
}
if (h.startsWith('#')) {
let u = new URL(url);
h = u.toString();
}
let h2; let h2;
try { try {
h2 = new URL(h); h2 = new URL(h);