Skip to content

Commit

Permalink
bugfix: use absolute urls (twisted behaviour has changed?)
Browse files Browse the repository at this point in the history
  • Loading branch information
koto committed Jun 2, 2012
1 parent da3bc33 commit 3c6ddda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sslstrip/ClientRequest.py
Expand Up @@ -92,6 +92,7 @@ def handleHostResolvedSuccess(self, address):
self.content.seek(0,0) self.content.seek(0,0)
postData = self.content.read() postData = self.content.read()
url = 'http://' + host + path url = 'http://' + host + path
self.uri = url # set URI to absolute


self.dnsCache.cacheResolution(host, address) self.dnsCache.cacheResolution(host, address)


Expand Down

0 comments on commit 3c6ddda

Please sign in to comment.