[2.2.1]
bug
9cf0390aApply the default open validation regex^((mailto:\w+)|(tel:\w+)|(https?://\w+)).+when the open configuration is not set, preventing unchecked input from being used in this scenario (previously the plugin would skip validation when it should disable all calls). This keeps backwards compatibility while still fixing this vulnerability.
The scope is no longer validated for Rust calls viaShellExt::shell()so if you need to block JavaScript from calling the API you can simply settauri.conf.json > plugins > shell > opentofalse.
Cargo Publish
Updating crates.io index
Packaging tauri-plugin-shell v2.2.1 (/home/runner/work/plugins-workspace/plugins-workspace/plugins/shell)
Updating crates.io index
Packaged 45 files, 290.2KiB (113.0KiB compressed)
Uploading tauri-plugin-shell v2.2.1 (/home/runner/work/plugins-workspace/plugins-workspace/plugins/shell)
Uploaded tauri-plugin-shell v2.2.1 to registry `crates-io`
note: waiting for `tauri-plugin-shell v2.2.1` to be available at registry `crates-io`.
You may press ctrl-c to skip waiting; the crate should be available shortly.
Published tauri-plugin-shell v2.2.1 at registry `crates-io`