Bug fix for login-like SQLi (OR with 500 result)

This commit is contained in:
Miroslav Stampar 2014-12-18 15:58:19 +01:00
parent 0b91a6098f
commit 6972020faf

View File

@ -122,6 +122,8 @@ class SmartRedirectHandler(urllib2.HTTPRedirectHandler):
req.headers[HTTP_HEADER.COOKIE] = headers[HTTP_HEADER.SET_COOKIE].split(conf.cookieDel or DEFAULT_COOKIE_DELIMITER)[0]
try:
result = urllib2.HTTPRedirectHandler.http_error_302(self, req, fp, code, msg, headers)
except urllib2.HTTPError, e:
result = e
except:
redurl = None
result = fp