- Fixed a bug that would make certain sites end up in a infinite redirect loop

- HSTS headers now get deleted
This commit is contained in:
byt3bl33d3r 2015-03-13 18:37:16 +01:00
parent cb09a12164
commit 10468bfa5e
3 changed files with 7 additions and 4 deletions

View file

@ -190,7 +190,7 @@ class ClientRequest(Request):
def process(self):
logging.debug("Resolving host: %s" % (self.getHeader('host')))
host = self.getHeader('host')
if (self.hsts and host):
real = self.urlMonitor.real