fix: prevent HTML encoding of forward slash in booking confirmation (#26949)
- Add interpolation: { escapeValue: false } to AttendeeRequestEmail.tsx
- Add interpolation: { escapeValue: false } to attendee-request-email.ts
- Add interpolation: { escapeValue: false } to bookings-single-view.tsx
This prevents special characters like '/' from being HTML-encoded to '/'
in booking confirmation emails and success page dialogs.
Fixes #26938
This commit is contained in:
1 parent
9c6e331a37
commit
07fee3a0aa
3 files changed
+3
-1
No files matched your search
@@ -15,7 +15,7 @@ export const AttendeeRequestEmail = (props: React.ComponentProps<typeof Attendee
|
||||
props.calEvent.recurringEvent?.count
|
||||
? "user_needs_to_confirm_or_reject_booking_recurring"
|
||||
: "user_needs_to_confirm_or_reject_booking",
|
||||
{ user: props.calEvent.organizer.name }
|
||||
{ user: props.calEvent.organizer.name, interpolation: { escapeValue: false } }
|
||||
)}
|
||||
</>
|
||||
}
|
||||
|
||||
@@ -26,6 +26,7 @@ export default class AttendeeRequestEmail extends AttendeeScheduledEmail {
|
||||
}),
|
||||
this.calEvent.attendees[0].language.translate("user_needs_to_confirm_or_reject_booking", {
|
||||
user: this.calEvent.organizer.name,
|
||||
interpolation: { escapeValue: false },
|
||||
})
|
||||
),
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user