fix: reverter should execute the reversion in reversed order (#6872)

Signed-off-by: Jason Joo <hblzxsj@gmail.com>
This commit is contained in:
Jason Joo
2024-09-12 09:07:02 +08:00
committed by GitHub
parent ee4d26b780
commit 4e7bd5a51c
3 changed files with 22 additions and 2 deletions

View File

@@ -51,6 +51,7 @@ will behave as follows:
* `continue` will continue applying the next rule in the rule list.
* `stop` will consider the current rule the last rule and will not continue. The default behaviour is `stop`
* When multiple rules are matched, the request rewrite follows the line order in the configuration, while the response rewrite(`answer` option) is executed in reverse order.
## Examples