Skip to content

Format issues - #740

Merged
jelly merged 9 commits into
archlinux:masterfrom
jelly:format-issues
Aug 29, 2026
Merged

Format issues#740
jelly merged 9 commits into
archlinux:masterfrom
jelly:format-issues

Conversation

@jelly

@jelly jelly commented Aug 29, 2026

Copy link
Copy Markdown
Member

No description provided.

jelly added 9 commits August 29, 2026 15:22
The string interpolation happens before `format_html` so theoretically
this allows XSS.
This is highly theoretical and would require the repository database to
compromised but this it is safer to construct HTML elements this way.
This removes the need for `mark_safe`.
Posting new is an authenticated operation and so is requesting a
preview.
We don't have to manually ensure it hits the index anymore. This was
introduced originally in 2012, but since then the query planner has
improved.
The previous comparison was vulnerable to timing side-channel attacks.
@jelly
jelly merged commit aaf7953 into archlinux:master Aug 29, 2026
1 check passed
@jelly
jelly deleted the format-issues branch August 29, 2026 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant