aboutcode-org / aboutcode-org/vulnerablecode

vulnerability id searching very slow on public instance when using free text

未关闭
#1,367 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
702
派生
328
平均合并
3 天 8 小时
30 天内合并 PR
3

描述

https://public.vulnerablecode.io/

When I put some free text in the field "Search for vulnerabilities" and then click "Search" it can take a long time. For example, when I search for "philippe" (because why not?) it takes around 20 seconds (package search is very fast, apparently there are no packages indexed that are called "philippe").

Of course this search field isn't meant for searching free text (it does seem to work though, as I get a few results), so it might be wise to add a few extra checks to confirm that the search term used is a potential identifier that can be searched or do something because people (like me!) will use the system like this.

@pombredanne

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。