Skip to content

feat(gitter): parse repo url and enable more ways to validate#5159

Draft
Ly-Joey wants to merge 1 commit intogoogle:masterfrom
Ly-Joey:feax-gitter-repo-url-parsing
Draft

feat(gitter): parse repo url and enable more ways to validate#5159
Ly-Joey wants to merge 1 commit intogoogle:masterfrom
Ly-Joey:feax-gitter-repo-url-parsing

Conversation

@Ly-Joey
Copy link
Copy Markdown
Contributor

@Ly-Joey Ly-Joey commented Mar 31, 2026

We have some records with repo url that looks like this: https://<repoURL>#<hashes or something>
e.g.: https://github.com/pypa/advisory-database/blob/main/vulns/lxml/PYSEC-2021-852.yaml

If we parse repoURL as net/url then we can easily remove the queries and fragments from it.
Also no regex for the http(s) / git protocol matching (so clear!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant