forgejo/routers
ThomasBoom89 5feca875ea fix(api): use not found status code when appropriate (#6885)
- Use a 404 error when the issue not found instead of returning an internal server error.
- Resolves #4005
- Added integration test.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6885
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: ThomasBoom89 <thomasboom89@noreply.codeberg.org>
Co-committed-by: ThomasBoom89 <thomasboom89@noreply.codeberg.org>
2025-02-12 20:18:33 +00:00
..
api fix(api): use not found status code when appropriate (#6885) 2025-02-12 20:18:33 +00:00
common fix: always set stripped slashes on http request 2025-02-10 12:55:11 +01:00
install [CHORE] Move to new sessioner library 2024-08-25 03:47:08 +02:00
private [CHORE] Use forked binding library 2024-11-05 22:47:34 +01:00
utils [PORT] drop utils.IsExternalURL (and expand IsRiskyRedirectURL tests) (#3167) 2024-04-15 13:03:08 +00:00
web Move gitgraph from modules to services layer (#33527) 2025-02-09 10:20:47 +01:00
init.go Revert "Open telemetry integration (#3972)" 2024-08-07 11:22:43 +02:00