Hi quinncom ,
The behavior you are running into is something we do in order to help keep redirect rules simple.
Basically we have a check that goes like:
- Did the original URL have query parameters?
- Are there no query parameters on the rewritten URL?
- Then, transfer the original parameters onto the rewritten URL
This allows you to write extremely simple rules, such as: youtube.com|piped.moomoo.me
And the path & parameters are all maintained without you having to write a more complicated expression, just to preserve the path & parameters.
And looking at the rules our user's have created, it seems that many of them take advantage of this - or in other words, if we were to change this, it may break a number of user's rules.
An argument could be made for adding some kind of option for these kinds of things, but given that
- The pattern in your other example produces a URL that works as intended (correct me if I'm missing something)
- Lack of reports or other feedback on this ticket
- Added complexity when creating rules
we will mark this as nofix for now.
I am open to hearing other examples where this isn't working for you, or if you have other suggestions - we can reopen it.