vinta-awesome-python/website
Vinta Chen 1ae889b4fd
fix: stricter GitHub owner/repo regexes and injection tests
Split _GITHUB_NAME_RE into separate owner and repo patterns.
Owner regex now rejects leading/trailing hyphens and dots (matching
GitHub's actual username rules). Repo regex requires alphanumeric
start but allows dots and underscores anywhere after.

New tests cover GraphQL injection attempts, invalid leading chars,
and valid hyphenated/underscore/dot combinations.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-30 15:03:06 +08:00
..
static refactor(js): replace var with const for immutable bindings 2026-03-24 13:37:35 +08:00
templates style(html): reformat templates for consistent attribute and block spacing 2026-03-24 13:35:10 +08:00
tests fix: stricter GitHub owner/repo regexes and injection tests 2026-03-30 15:03:06 +08:00
build.py feat(website): add social proof line to hero with star count and build date 2026-03-23 01:56:15 +08:00
fetch_github_stars.py fix: stricter GitHub owner/repo regexes and injection tests 2026-03-30 15:03:06 +08:00
readme_parser.py refactor(parser): remove resources parsing, preview, and content_html fields 2026-03-23 01:43:19 +08:00