File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " tauri " : patch:bug
3
+ ---
4
+
5
+ Fix isolation pattern creates iframes within iframes on Windows
Original file line number Diff line number Diff line change @@ -84,12 +84,12 @@ pub(crate) struct PatternJavascript {
84
84
pub ( crate ) pattern : PatternObject ,
85
85
}
86
86
87
- #[ allow ( dead_code ) ]
87
+ #[ cfg ( feature = "isolation" ) ]
88
88
pub ( crate ) fn format_real_schema ( schema : & str , https : bool ) -> String {
89
89
if cfg ! ( windows) || cfg ! ( target_os = "android" ) {
90
90
let scheme = if https { "https" } else { "http" } ;
91
- format ! ( "{scheme}://{schema}.{ISOLATION_IFRAME_SRC_DOMAIN}" )
91
+ format ! ( "{scheme}://{schema}.{ISOLATION_IFRAME_SRC_DOMAIN}/ " )
92
92
} else {
93
- format ! ( "{schema}://{ISOLATION_IFRAME_SRC_DOMAIN}" )
93
+ format ! ( "{schema}://{ISOLATION_IFRAME_SRC_DOMAIN}/ " )
94
94
}
95
95
}
You can’t perform that action at this time.
0 commit comments