mailto dropping body parameter
Categories
(Core :: Networking, defect)
Tracking
()
People
(Reporter: nyoung, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0
Steps to reproduce:
We have a dynamic link for sending emails, when using Firefox 68.0.2 the text in the 'body' portion of the mailto link is missing from the email that is created.
For example:
Link is clicked on mailto:email@email.com?subject=Sales%20Order:%20{!}%20%20Invoice%20#{!Opportunity.Invoice_Number__c}&body=https://url.com/{!Opportunity.Id}
Outlook creates new email, but body (https://url.com/{!Opportunity.Id}) is missing.
This issue is not present in 68.0.1
Actual results:
New email is created with text from body paramenter of link missing
Expected results:
All text after body= should be included in the email that is created.
When I embed the link mailto:somebody@somwhere.example?subject=foo&body=bar that link works. I would suggest trying that with URL escapes for {,}, and #.
Comment 2•5 years ago
|
||
Not the HTML parser. This is likely a matter of the unescaped #
making the rest a fragment identifier. I'm not sure if mailto:
URLs are supposed to support fragment identifiers or if they should be special.
Comment 3•5 years ago
|
||
So mailto:
URLs are not special and can have fragments. However, I don't really know how we invoke the external application, is there anything that would prevent us from passing the fragment along as well? That'll likely lead to the desired result.
I believe this is related to Bug 1573051. I tested with the nightly version and the issue is no longer present.
Comment 5•5 years ago
|
||
Thanks nyoung!
Comment 6•5 years ago
|
||
What client did you launch for creating the e-mail? Bug 1577706 claims that Thunderbird is not longer starting, and I can confirm that.
Updated•4 years ago
|
Description
•