We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56277e4 commit 6a4451bCopy full SHA for 6a4451b
2 files changed
.changes/isolation-iframe-loop.md
@@ -0,0 +1,5 @@
1
+---
2
+"tauri": patch:bug
3
4
+
5
+Fix isolation pattern creates iframes within iframes on Windows
crates/tauri/src/pattern.rs
@@ -84,12 +84,12 @@ pub(crate) struct PatternJavascript {
84
pub(crate) pattern: PatternObject,
85
}
86
87
-#[allow(dead_code)]
+#[cfg(feature = "isolation")]
88
pub(crate) fn format_real_schema(schema: &str, https: bool) -> String {
89
if cfg!(windows) || cfg!(target_os = "android") {
90
let scheme = if https { "https" } else { "http" };
91
- format!("{scheme}://{schema}.{ISOLATION_IFRAME_SRC_DOMAIN}")
+ format!("{scheme}://{schema}.{ISOLATION_IFRAME_SRC_DOMAIN}/")
92
} else {
93
- format!("{schema}://{ISOLATION_IFRAME_SRC_DOMAIN}")
+ format!("{schema}://{ISOLATION_IFRAME_SRC_DOMAIN}/")
94
95
0 commit comments