Skip to content

Commit

Permalink
Fixing int/str type issue with the port in WASEProxy.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ztgrace committed Mar 16, 2017
1 parent 0e38ec4 commit 42c71f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WASEProxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def mitm_request(self, data):
scheme = "http"
url = scheme + "://" + self.hostname
if scheme == "http" and int(self.port) != 80 or scheme == "https" and int(self.port) != 443:
url += ":" + self.port
url += ":" + str(self.port)
url += self.path

if args.verbose:
Expand Down

0 comments on commit 42c71f2

Please sign in to comment.