fix: basic-web: single-quotes were not supported

Massimo Melina committed Oct 23, 2024 at 16:18 UTC ba08c97b8dd9b9a75abd02f195765f9d12a1d46e
1 file changed +1 -1
src/cross.ts
+1 -1
@@ -398,7 +398,7 @@ export async function promiseBestEffort<T>(promises: Promise<T>[]) {
398 }
399
400 export function pathEncode(s: string) {
401 - return encodeURI(s).replace(/#/g, encodeURIComponent)
401 + return encodeURI(s).replace(/#/g, escape)
402 }
403 //unused function pathDecode(s: string) { return decodeURI(s).replace(/%23/g, '#') }
404