Local URLs added with the "Shaare a new link" page or the Shaarli webextension have the file:// string replaced by http://
Imported bookmarks are stored correctly but clicking the link doesn't do anything.
Editing an existing file:// bookmark will turn it into http://
Tested with Shaarli 0.11.0 and Firefox.
You can allow to add file:// URL in your configuration file with the setting security.allowed_protocols. It takes a list of allowed protocols in shaare URLs or markdown-rendered descriptions (default: ["ftp", "ftps", "magnet"]).
https://shaarli.readthedocs.io/en/master/Shaarli-configuration/#security
Thank you, that solves 1 and 3 but not 2: clicking or middle-clicking any file:// bookmark won't open the page in Firefox like it does for http(s) URLs. Browser issue?
@cy7yz2rj this is a limitation/security feature of the browser. There seems to be several workaround, I don't know which ones actually work
I recommend caution before disabling this feature in your browser as it could lead to malicious javascript being able to access to your local files.