Closed Bug 1577350 Opened 5 years ago Closed 5 years ago

mailto dropping body parameter

Categories

(Core :: Networking, defect)

68 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1573051

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 #.

Component: Untriaged → HTML: Parser
Product: Firefox → Core

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.

Component: HTML: Parser → Networking
Flags: needinfo?(annevk)

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.

Flags: needinfo?(annevk)

I believe this is related to Bug 1573051. I tested with the nightly version and the issue is no longer present.

https://bugzilla.mozilla.org/show_bug.cgi?id=1573051

Thanks nyoung!

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE

What client did you launch for creating the e-mail? Bug 1577706 claims that Thunderbird is not longer starting, and I can confirm that.

Flags: needinfo?(nyoung)
Flags: needinfo?(nyoung)
You need to log in before you can comment on or make changes to this bug.