Fsnotes: Clicking email address link opens web browser for email domain

Created on 17 Dec 2019  路  5Comments  路  Source: glushchenko/fsnotes

Describe the bug
Clicking an email address in FSNotes opens the web browser:

Screen Shot 2019-12-16 at 17 40 21

To Reproduce
Steps to reproduce the behavior:

  1. Enter [email protected] in a note.
  2. Click it.

Expected behavior
I expect my email program to open (as if the link were mailto:[email protected]

Actual behavior
It opens http://example.com.

Desktop (please complete the following information):

  • OS: macOS
  • OS version: 10.14.6
  • FSNotes version: 4.0.12
done

Most helpful comment

Fixed in 4.0.14

All 5 comments

I guess it needs to prepend email links with mailto: ?

https://en.wikipedia.org/wiki/URL

By default if scheme not provided we use http://[userinfo@]host[:port]

But, from the same page:

URLs occur most commonly to reference web pages (http), but are also used for file transfer (ftp), email (mailto), database access (JDBC), and many other applications.

Agreed, looks like a bug to me. Every other App considers email addresses and acts accordingly. I would prefer each "URL" that contains an at (@) but not a slash (/) nor a colon (:) to be an email address. And if someone really means a web url they can prepend http: or ssh: or whatever. Prepending mailto: to each email address seams absurd if you only want to save contact information.

Fixed in 4.0.14

Was this page helpful?
0 / 5 - 0 ratings

Related issues

floodfish picture floodfish  路  4Comments

pvinis picture pvinis  路  4Comments

fi0 picture fi0  路  4Comments

volt4ire picture volt4ire  路  4Comments

erikrose picture erikrose  路  4Comments