fix: profile delete redirect and open redirect via //

This commit is contained in:
2026-05-08 13:33:59 +02:00
parent 5f8eba9f84
commit a282539151
4 changed files with 5 additions and 2 deletions

View File

@@ -71,6 +71,7 @@ struct MonthlyRatingRow<'a> {
struct ProfileTemplate<'a> {
ctx: &'a HtmlPageContext,
profile_display_name: String,
profile_user_id: uuid::Uuid,
stats: &'a UserStats,
view: &'a str,
entries: Option<&'a Paginated<DiaryEntry>>,
@@ -239,6 +240,7 @@ impl HtmlRenderer for AskamaHtmlRenderer {
ProfileTemplate {
ctx: &data.ctx,
profile_display_name,
profile_user_id: data.profile_user_id,
stats: &data.stats,
view: &data.view,
entries: data.entries.as_ref(),