Skip to content

Fix HTML injection in location and group invite messages, fix panic in displayname template#900

Open
renaudallard wants to merge 1 commit intomautrix:mainfrom
renaudallard:main
Open

Fix HTML injection in location and group invite messages, fix panic in displayname template#900
renaudallard wants to merge 1 commit intomautrix:mainfrom
renaudallard:main

Conversation

@renaudallard
Copy link
Copy Markdown

  • Escape url, name and address with html.EscapeString in location messages
  • Escape group name with html.EscapeString in group invite messages
  • Replace panic with graceful fallback in FormatDisplayname on template error

…n displayname template

- Escape url, name and address with html.EscapeString in location messages
- Escape group name with html.EscapeString in group invite messages
- Replace panic with graceful fallback in FormatDisplayname on template error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant