VulnerabilityHistoryProject / vulnerability-history

vulnerabilityhistory.org
MIT License
32 stars 5 forks source link

Fix offenders vulnerabilities query #1123

Closed andymeneely closed 1 year ago

andymeneely commented 1 year ago

For example, the page: https://vulnerabilityhistory.org/filepaths/django-django-utils-http-py#vulnerabilities was showing tons of repeated tags.

Turns out we had a bad query that was copy-pasted. Instead, I made it a subquery (gasp) and reused the original code