mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 14:53:34 +01:00
8dbd2da593
As of Forgejo 8.0.1 the release notes were only available in the description of the corresponding milestone which is problematic for: - searching - safekeeping The release-notes-published directory is created to remedy those problems: - a copy of all those release notes from the milestones descriptions is added. - a reference is added to the RELEASE-NOTES.md file which will no longer be used. - a symbolic link to the RELEASE-NOTES.md is added for completeness. - the release process will be updated to populate release-notes-published. The RELEASE-NOTES.md file is kept where it is because it is referenced by a number of URLs. The release-notes directory would have been a better name but it is already used for in flight release notes waiting for the next release. Renaming this directory or changing it is rather involved.
3.4 KiB
3.4 KiB
This is a security release. See the documentation for more information on the upgrade procedure.
- Security bug fixes
A change introduced in Forgejo v1.21 allows a Forgejo user with write permission on a repository description to inject a client-side script into the web page viewed by the visitor. This XSS allows for
href
in anchor elements to be set to ajavascript:
URI in the repository description, which will execute the specified script upon clicking (and not upon loading).AllowStandardURLs
is now called for the repository description policy, which ensures that URIs in anchor elements aremailto:
,http://
orhttps://
and thereby disallowing thejavascript:
URI.
- User Interface bug fixes
- PR (backported): Do not include trailing EOL character when counting lines
- PR (backported): Add background to reactions on hover
- PR (backported): Prevent uppercase in header of dashboard context selector
- PR (backported): Fix page layout in admin settings
- Bug fixes
- PR (backported): disallow javascript: URI in the repository description
- PR (backported): Ensure all filters are persistent in issue filters
- PR (backported): Allow 4 charachter SHA in
/src/commit
- Localization
- PR (backported): i18n: backport of #4668 and #4783 to v8