aboutcode-org / aboutcode-org/vulnerablecode

TypeError: argument of type 'NoneType' is not iterable test_apache_tomcat

Đang mở
#1,275 6 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
702
Fork
328
Merge trung bình
3 ngày 8 giờ
Pull request đã merge (30 ngày)
3

Mô tả

```
data = requests.get(url).content
soup = BeautifulSoup(data, features="lxml")
for tag in soup.find_all("a"):
link = tag.get("href")

> if "security-" in link and any(char.isdigit() for char in link):
E TypeError: argument of type 'NoneType' is not iterable

vulnerabilities/importers/apache_tomcat.py:141: TypeError

```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.