-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
fix(dav): handle HTML in CalDAV invitations #56925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
/backport to stable32 |
|
/backport to stable31 |
|
/backport to stable30 |
|
/backport to stable29 |
|
/backport to stable28 |
tcitworld
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No problem with that, but shouldn't it be handled directly by addBodyListItem instead?
No because sometimes we want the HTML to render, e.g. for the strike-through formatting of event updates. |
apps/dav/lib/CalDAV/Reminder/NotificationProvider/EmailProvider.php
Outdated
Show resolved
Hide resolved
d24a1d9 to
66bbd40
Compare
|
|
I assume Psalm was unable to detect the return type for Sabre\VObject\Property::getValue. Now with the value being wrapped in htmlspecialchars it's always a string. Yet I'm not sure if we can trust sabre's return type annotations 🙈 |
Signed-off-by: Christoph Wurst <[email protected]>
766027b to
dac8818
Compare
Summary
This avoids rendering issues with certain characters.
TODO
Checklist
3. to review, feature component)stable32)