Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 72f3674

Browse files
committed
Minor bug fix
1 parent 0d559d1 commit 72f3674

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/request/inject.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,9 +379,9 @@ def getValue(expression, blind=True, inband=True, fromUser=False, expected=None,
379379
conf.paramFalseCond = oldParamFalseCond
380380
conf.paramNegative = oldParamNegative
381381

382-
if value:
382+
if value and isinstance(value, str):
383383
value = value.strip()
384-
384+
385385
return value
386386

387387
def goStacked(expression, silent=False):

0 commit comments

Comments
 (0)