Redirect Rules work great to modify URLs of search results, but they don't work when doing a search query with the !
operator to auto-open the first result.
Steps to reproduce:
- Create a Redirect Rule, e.g.,
^https://(\w+)\.wikipedia\.org|https://$1.m.wikipedia.org
.
- Search for something that will match the redirect, e.g.,
site:wikipedia.org Pachyderm
.
- Notice the resulting URLs are for
en.m.wikipedia.org
instead of en.wikipedia.org
(the Redirect Rule is working).
- Do the same search, but end the search with
!
(auto-open the first result of the search), e.g., site:wikipedia.org Pachyderm !
.
- Notice the first match opens, but the URL is
en.wikipedia.org
instead of en.m.wikipedia.org
(the Redirect Rule didn't work).
Expected behavior:
Redirect Rules should apply to URLs in all cases, including when automatically opening the first result.
Debug info:
Edge 107
macOS 13
Country/Region=International
Connected to: US-CENTRAL
Network latency: 119ms
All Services Operational
Image/Video:
Here's a screen recording showing the issue: