Skip to content

Commit

Permalink
Patch for an Issue sqlmapproject#719
Browse files Browse the repository at this point in the history
  • Loading branch information
stamparm committed Jun 12, 2014
1 parent 2beeb17 commit f558b80
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/request/redirecthandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
import urllib2
import urlparse

from StringIO import StringIO

from lib.core.data import conf
from lib.core.data import kb
from lib.core.data import logger
Expand Down Expand Up @@ -123,6 +125,7 @@ def http_error_302(self, req, fp, code, msg, headers):
except:
redurl = None
result = fp
fp.read = StringIO("").read
else:
result = fp

Expand Down

0 comments on commit f558b80

Please sign in to comment.