You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, Shlink does not allow setting an empty query parameter value when creating redirect rules. For example, xxx.com?test is not possible, as a value is required. It would be useful to allow parameters without values.
Use case
Some APIs or services expect query parameters without values (e.g., ?debug or ?feature).
Certain tracking or feature flag implementations rely on the presence of a parameter, regardless of its value.
This would improve flexibility when setting up redirect rules.
The text was updated successfully, but these errors were encountered:
I think Shlink should allow the next scenarios when it comes to query parameter redirects.
Match exact name and value (as it does now).
Match the presence of a parameter regardless of its value.
Match the presence of a parameter with no value at all.
I need to give it a thought and see if it's better to handle some if those with a new type of redirect condition or it's easier to simple refactor existing one.
Using different conditions would probably make validation easier to handle.
Summary
Currently, Shlink does not allow setting an empty query parameter value when creating redirect rules. For example, xxx.com?test is not possible, as a value is required. It would be useful to allow parameters without values.
Use case
Some APIs or services expect query parameters without values (e.g., ?debug or ?feature).
Certain tracking or feature flag implementations rely on the presence of a parameter, regardless of its value.
This would improve flexibility when setting up redirect rules.
The text was updated successfully, but these errors were encountered: