Skip to content

Commit e1d5b79

Browse files
authored
fix(core): wrong ACL validation on multiwebview contexts (#8995)
1 parent 5a19147 commit e1d5b79

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changes/fix-acl-webview-check.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"tauri": patch:bug
3+
---
4+
5+
Fixes capability webview label check.

core/tauri/src/webview/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1153,8 +1153,8 @@ fn main() {
11531153
.unwrap()
11541154
.resolve_access(
11551155
&request.cmd,
1156-
message.webview.label(),
11571156
message.webview.window().label(),
1157+
message.webview.label(),
11581158
&acl_origin,
11591159
)
11601160
.cloned();

0 commit comments

Comments
 (0)