forgejo/routers
Nikita Karamov a22e5f86c6 fix: Allow SHA-256 in PR commit URLs (#10309)
Closes #9129. I decided to try myself in contributing to Forgejo after having found this bug mentioned on Fedi.

I have also added a basic test for this behaviour, but this means that this PR adds a SHA-256 repo to the fixture set, so it can be reused in other tests.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10309
Reviewed-by: Lucas <sclu1034@noreply.codeberg.org>
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Nikita Karamov <me@kytta.dev>
Co-committed-by: Nikita Karamov <me@kytta.dev>
2025-12-16 00:45:00 +01:00
..
api fix: correct token summary in swagger to specify the used user. (#10367) 2025-12-10 17:13:07 +01:00
common chore: rename 'migrations' to 'gitea_migrations' 2025-10-14 14:40:49 -06:00
install chore: unify the usage of CryptoRandomString (#10110) 2025-11-15 13:24:53 +01:00
private chore: ensure consistent import aliasing for services and models (#10253) 2025-11-30 17:00:57 +01:00
utils [PORT] drop utils.IsExternalURL (and expand IsRiskyRedirectURL tests) (#3167) 2024-04-15 13:03:08 +00:00
web fix: Allow SHA-256 in PR commit URLs (#10309) 2025-12-16 00:45:00 +01:00
init.go chore(lint): Add exceptions for dbfs_model and unittest (#10275) 2025-12-09 14:34:06 +01:00