Skip to content

Commit

Permalink
Merge pull request #181 from ctripcorp/main_web_mock_new
Browse files Browse the repository at this point in the history
fix bug
  • Loading branch information
clgwlg authored Jun 21, 2023
2 parents af2e8b1 + aea7c97 commit d10e89f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flybirds/core/plugin/plugins/default/web/page.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit d10e89f

Please sign in to comment.