Skip to content

Commit

Permalink
fix: [website] vulnerabilitylookup.get_vendors returns lowercase resu…
Browse files Browse the repository at this point in the history
…lts.
  • Loading branch information
cedricbonhomme committed Jul 12, 2024
1 parent 90b5e6f commit a79680e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/web/views/home.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def search() -> str | WerkzeugResponse:
vulnerability_id=vulnerability_id,
linked_vulns=linked_vulns,
)
elif vulnerability_id in vulnerabilitylookup.get_vendors():
elif vulnerability_id.lower() in vulnerabilitylookup.get_vendors():
# FIXME: this is dirty.
vendor = vulnerability_id
# Got a vendor, show the proper template.
Expand Down

0 comments on commit a79680e

Please sign in to comment.