- SECURITY Fixed CSRF in tag deletion: a privileged user visiting a malicious page could have tags deleted without their consent. Tag deletion now requires POST and is protected by CSRF checks (
Sec-Fetch-Siteheader validation with a token fallback for older browsers). Reported by RAGSO. - SECURITY Fixed an open redirect after tag deletion, where a crafted
repoPathcould send users to an external site. - SECURITY Added
X-Frame-Options: DENYandContent-Security-Policy: frame-ancestors 'none'headers to prevent clickjacking, plusX-Content-Type-OptionsandReferrer-Policy. - BREAKING Internal routes moved from
/__to/-/namespace:/__event-log→/-/events,/__statistics→/-/stats,/__options→/-/options,/__delete-tag→/-/delete-tag. Update any reverse proxy rules or bookmarks accordingly. - BREAKING
/-/delete-tagno longer accepts GET requests. Scripts calling it directly must switch to POST and pass the CSRF token or sendSec-Fetch-Site: same-origin. - Users without delete permission now get 403 from
/-/delete-taginstead of a silent redirect. - Event receiver: constant-time bearer token comparison and a 1 MB request body limit.
- Use parameterized SQL query for repository events, and match repo names containing
_or%literally. - Added
ui.default_page_sizeconfig option to set the default number of rows per page in tables,-1shows all (#106, by RouxAntoine). - Upgrade go version to 1.27.4 and all dependencies.