Skip to content

Commit

Permalink
Minor update for #1281
Browse files Browse the repository at this point in the history
  • Loading branch information
stamparm committed Jun 28, 2015
1 parent 97244f5 commit 8b63ee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/option.py
Expand Up @@ -289,7 +289,7 @@ def _parseBurpLog(content):
line = line.strip('\r')
match = re.search(r"\A(%s) (.+) HTTP/[\d.]+\Z" % "|".join(getPublicTypeMembers(HTTPMETHOD, True)), line) if not method else None

if len(line) == 0 and method and method != HTTPMETHOD.GET and data is None:
if len(line.strip()) == 0 and method and method != HTTPMETHOD.GET and data is None:
data = ""
params = True

Expand Down

0 comments on commit 8b63ee9

Please sign in to comment.