When you drag a link from Firefox into a Canvas, a file pointer is created instead of a URL link

Steps to reproduce

  • Open a new Canvas
  • Drag a link from the URL/address bar from Chrome/Edge. This will create an embed URL link.
  • Drag a link from the URL/address bar from Firefox. This will create an embed FILE link.
  • Same in sandbox.

  • Followed step: yes
  • What do you expect to see after carrying out the steps above: both should have URL links
  • Instead of the expected result, what happened? Firefox produced FILE link.
  • Paste your debug info below (from Sandbox):
SYSTEM INFO:
	Obsidian version: v1.4.16
	Installer version: v1.4.16
	Operating system: Windows 10 Pro for Workstations 10.0.22631
	Login status: not logged in
	Insider build toggle: off
	Live preview: on
	Legacy editor: off
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none
  • Anything else you think would help our investigation, like a screenshot or a log file?
{
	"nodes":[
		{"id":"97943010c5b7711b","x":-292,"y":-487,"width":400,"height":400,"type":"link","url":"https://www.waypointproject.io/"},
		{"id":"e17bcafdb4a0ec43","x":-127,"y":-135,"width":400,"height":400,"type":"file","file":"Waypoint by HashiCorp.url"}
	],
	"edges":[]
}

This depends on what exactly Firefox passes as argument. I think chrome-based browsers likely put the plain text url whereas firefox only puts .url type. It needs special handling.