From 7f37d87dd962e10e6ede2f291d314b941ae26060 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Tue, 8 Oct 2024 12:47:02 +0200 Subject: [PATCH] MOBILE-4673 ios: Fix iframe links script not loaded in some apps --- src/core/services/utils/iframe.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/services/utils/iframe.ts b/src/core/services/utils/iframe.ts index e2e5aa068..3c8f3d841 100644 --- a/src/core/services/utils/iframe.ts +++ b/src/core/services/utils/iframe.ts @@ -559,7 +559,7 @@ export class CoreIframeUtilsProvider { */ injectiOSScripts(userScriptWindow: WKUserScriptWindow): void { const wwwPath = CoreFile.getWWWAbsolutePath(); - const linksPath = CorePath.concatenatePaths(wwwPath, 'assets/js/iframe-treat-links.js'); + const linksPath = CorePath.concatenatePaths(wwwPath, 'assets/js/iframe-treat-links.js').replace(/%20/g, ' '); userScriptWindow.WKUserScript?.addScript({ id: 'CoreIframeUtilsLinksScript', file: linksPath });