apisix-dashboard
apisix-dashboard copied to clipboard
Feature request: support regex_uri attribute in redirect plugin
Feature request
Please describe your feature
APISIX already supports uri attribute in redirect plugin, which is under "custom" option in "Name And Description" section. But in some more complex situations, regex_uri would be a better way.
Describe the solution you'd like
Add regex_uri support just like the proxy_rewrite plugin.
Hi @dogrod, thank you for your report. Would you like to help improve this feature?
ping @hanzhenfang Are you interested in completing it?
let me try.
I'm completing it, should I change the Redirect from the select to a radio, or add a new option on the original basis?
I'm completing it, should I change the Redirect from the select to a radio, or add a new option on the original basis?
hello, that's too abstract, can you add a diagram to show what you think?
I'm completing it, should I change the Redirect from the select to a radio, or add a new option on the original basis?
hello, that's too abstract, can you add a diagram to show what you think? 1.select
![]()
2.radio, like this
hi, @Sh1-5
I prefer the latter. When we select Custom, we can add two radio configurations, one for uri
by default and one for regex_uri
.
you can refer to redirect , Looking forward to your PR~
hi, @Sh1-5 I prefer the latter. When we select Custom, we can add two radio configurations, one for
uri
by default and one forregex_uri
. you can refer to redirect , Looking forward to your PR~
ok, I have completed it.It's time to write the test case