Previously, URLs ending with a `?` were treated as search strings and redirected
the search to the default search engine.
This patch ensures the URL is visited instead of doing a search to the default
search engine. The search restrict token `?` is now ignored when it appears at
the end of the search string.
Differential Revision: https://phabricator.services.mozilla.com/D233311