Ampersand (&) in Subject for Outlook.com & Office 365 renders as &
jaredlt opened this issue · comments
Problem
When you pass a Subject with an ampersand &
, it displays as &
(for Outlook.com and Office 365)
Eg. Birthday & Sleepover
percent-encoded to: &subject=Birthday%20%26%20Sleepover
This appears to be a bug on Microsoft's side.
Solution
- Detect and replace
&
withand
? (but only forOutlook.com
andOffice 365
and only for theSubject
field)