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

Skip to content

Commit 0ea3909

Browse files
committed
Fixes #4063
1 parent 49afd47 commit 0ea3909

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from thirdparty.six import unichr as _unichr
1919

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.4.1.8"
21+
VERSION = "1.4.1.9"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

thirdparty/beautifulsoup/beautifulsoup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ def getText(self, separator=u""):
595595
stopNode = self._lastRecursiveChild().next
596596
strings = []
597597
current = self.contents[0]
598-
while current is not stopNode:
598+
while current and current is not stopNode:
599599
if isinstance(current, NavigableString):
600600
strings.append(current.strip())
601601
current = current.next
@@ -897,7 +897,7 @@ def recursiveChildGenerator(self):
897897
return # Note: https://stackoverflow.com/a/30217723 (PEP 479)
898898
stopNode = self._lastRecursiveChild().next
899899
current = self.contents[0]
900-
while current is not stopNode:
900+
while current and current is not stopNode:
901901
yield current
902902
current = current.next
903903

0 commit comments

Comments
 (0)