aboutcode-org / aboutcode-org/vulnerablecode

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

Aperta
#1,275 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
702
Fork
328
Merge medio
3g 8h
PR unite (30g)
3

Descrizione

```
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

```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.