You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I create a sample project to investigate why AddWebResourceRequestedFilter is not work per expectation? In the given scenario, the add_WebResourceRequested should only react if the url match with the following filter - ://tauri.app.
However, the result shows, it also get trigger for others endpoint as well e.g. https://tauri.localhost.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I create a sample project to investigate why AddWebResourceRequestedFilter is not work per expectation? In the given scenario, the add_WebResourceRequested should only react if the url match with the following filter - ://tauri.app.
However, the result shows, it also get trigger for others endpoint as well e.g. https://tauri.localhost.
Repo: https://github.com/rrbike/tauri-webview-filter
Additional context:
[✔] Environment
- OS: Windows 10.0.22631 X64
✔ WebView2: 120.0.2210.144
✔ MSVC: Visual Studio Build Tools 2022
✔ rustc: 1.74.1 (a28077b28 2023-12-04)
✔ cargo: 1.74.1 (ecb9851af 2023-10-18)
✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
- node: 18.16.0
- npm: 9.5.1
[-] Packages
- tauri [RUST]: 1.5.4
- tauri-build [RUST]: 1.5.1
- wry [RUST]: 0.24.7
- tao [RUST]: 0.16.6
- @tauri-apps/api [NPM]: 1.5.3
- @tauri-apps/cli [NPM]: 1.5.9
[-] App
- build-type: bundle
- CSP: unset
- distDir: ../dist/tauri-webview-filter/browser
- devPath: http://localhost:4200/
- framework: Angular
- bundler: Webpack
Beta Was this translation helpful? Give feedback.
All reactions