Skip to content

Cannot open mailto links[bug]  #5521

@anterpin

Description

@anterpin

Describe the bug

Tauri cannot open mailto links

image

Reproduction

-- tauri.conf.json

"allowlist": {
	"all": true,
	"shell": {
		"open": true
	}
},

-- javascript

<a href="mailto:user@mail.com"> test </a>

Expected behavior

It should open the default mail application

Platform and versions

Environment
  › OS: Manjaro 22.0.0 X64
  › Node.js: 16.16.0
  › npm: 8.19.2
  › pnpm: Not installed!
  › yarn: Not installed!
  › rustup: 1.25.1
  › rustc: 1.64.0
  › cargo: 1.64.0
  › Rust toolchain: stable-x86_64-unknown-linux-gnu 

Packages
  › @tauri-apps/cli [NPM]: 1.1.1
  › @tauri-apps/api [NPM]: Not installed!
  › tauri [RUST]: 1.1.1,
  › tauri-build [RUST]: 1.1.1,
  › tao [RUST]: 0.14.0,
  › wry [RUST]: 0.21.1,

App
  › build-type: bundle
  › CSP: unset
  › distDir: ../public
  › devPath: http://localhost:8082/
  › framework: Svelte

App directory structure
  ├─ node_modules
  ├─ src
  ├─ .svelte-kit
  ├─ src-tauri
  └─ static

Stack trace

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions