From 1d1cdcce19e34904dbe3b3a13280b55e28e3038d Mon Sep 17 00:00:00 2001 From: xingwenyang Date: Wed, 21 Jun 2023 11:55:22 +0800 Subject: [PATCH] fix --- flybirds/core/plugin/plugins/default/web/page.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flybirds/core/plugin/plugins/default/web/page.py b/flybirds/core/plugin/plugins/default/web/page.py index a84ad63f..5c407b6f 100644 --- a/flybirds/core/plugin/plugins/default/web/page.py +++ b/flybirds/core/plugin/plugins/default/web/page.py @@ -374,7 +374,7 @@ def mock_rules(url: str, request_mock_key_value: list): if mock_rule.get("key").strip() in temp_path: mock_find = True elif method == "equ": - if mock_rule.get("key").strip().strip("/").strip("\\") == path.lower().strip().strip("/").strip( + if mock_rule.get("key").strip().strip("/").strip("\\") == path.strip().strip("/").strip( "\\"): mock_find = True elif method == "reg":