mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
Simple fix for a unicode error when editing a request URL.
This commit is contained in:
parent
ee71bcfbe8
commit
3b246f7e27
@ -426,7 +426,7 @@ class ConnectionView(WWrap):
|
||||
|
||||
def set_url(self, url):
|
||||
request = self.flow.request
|
||||
if not request.set_url(url):
|
||||
if not request.set_url(str(url)):
|
||||
return "Invalid URL."
|
||||
self.master.refresh_connection(self.flow)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user