Safari won't open magnet links.
When typing or pasting a magnet link URL into the address bar safari does a web search instead of accepting the URL and sending it to the appropriate torrent application.
I am sure there is just some simple thing I have messed up with being new to macOS.
MacBook Pro 13″, macOS 13.2