HeaderEditor icon indicating copy to clipboard operation
HeaderEditor copied to clipboard

[Question][Feature Request] 判断请求是否已经被修改过

Open reserveword opened this issue 4 years ago • 2 comments

如果我想让请求只应用一次规则,但是应用规则之后的请求还是会匹配规则,应该咋办 比如我想把origin.com/xxx重定向到origin.com/redirect/xxx,直接正则匹配替换就会导致循环匹配,最后浏览器会请求origin.com/redirect/redirect/redirect/...,导致请求失败 我的想法是在detail中新建一个字段,给出该请求是否经过header editor插件的修改,或者给出未经过HE重定向的url

reserveword avatar May 10 '21 11:05 reserveword

可以通过排除规则解决这个问题。

图片

wordpure avatar Oct 30 '21 01:10 wordpure

可以通过排除规则解决这个问题。

图片

不行哦,如果用户直接访问的就是origin.com/redirect/...,我们需要把它转换成origin.com/redirect/redirect/...

reserveword avatar Oct 30 '21 02:10 reserveword