Skip to content

Commit

Permalink
fix:修复录制流量转用例报错问题
Browse files Browse the repository at this point in the history
  • Loading branch information
tahitimoon committed Apr 3, 2024
1 parent 537b6b6 commit 579d5af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/apps/lunarlink/utils/request/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ def parse_url(url: str):
"""
url_parts = url.split("?")
base_url = url_parts[0]
query_params = url_parts[1].split("&") if len(url_parts) > 1 else []
query_params = [param for param in url_parts[1].split("&") if param] if len(url_parts) > 1 else []
protocol, path_with_domain = base_url.split("//")
return protocol, path_with_domain, query_params

Expand Down

0 comments on commit 579d5af

Please sign in to comment.