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):
	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

  • Anything else you think would help our investigation, like a screenshot or a log file?
		{"id":"e17bcafdb4a0ec43","x":-127,"y":-135,"width":400,"height":400,"type":"file","file":"Waypoint by HashiCorp.url"}

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.