0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 15:23:14 -05:00
forgejo/routers
Kemal Zebari eb765dabfd
Handle invalid target when creating releases using API (#31841)
A 500 status code was thrown when passing a non-existent target to the
create release API. This snapshot handles this error and instead throws
a 404 status code.

Discovered while working on #31840.

(cherry picked from commit f05d9c98c4cb95e3a8a71bf3e2f8f4529e09f96f)
2024-09-14 18:45:18 +02:00
..
api Handle invalid target when creating releases using API (#31841) 2024-09-14 18:45:18 +02:00
common [CHORE] Move to new sessioner library 2024-08-25 03:47:08 +02:00
install [CHORE] Move to new sessioner library 2024-08-25 03:47:08 +02:00
private feat(quota): Quota enforcement 2024-08-02 11:10:34 +02:00
utils [PORT] drop utils.IsExternalURL (and expand IsRiskyRedirectURL tests) (#3167) 2024-04-15 13:03:08 +00:00
web Failed authentications are logged to level Warning (#32016) 2024-09-14 17:55:25 +02:00
init.go Revert "Open telemetry integration (#3972)" 2024-08-07 11:22:43 +02:00