Prevent '#' and '?' characters in the $link_input being interpreted as fragment or query indicators
Add the 'base:' prefix to the $link_input. Use Url::fromUri() rather than Url::fromUserInput because the input coming from a view rather than a user.
Closes #3490773