Composition, started from mailto: link, removes carriage return characters %OD [ignores/does not parse/show line breaks / paragraphs contained in mailto:// URI / URL]

NEW
Unassigned

Status

Thunderbird
General
7 years ago
2 years ago

People

(Reporter: Eric, Unassigned)

Tracking

({testcase})

unspecified
testcase

Thunderbird Tracking Flags

(thunderbird3.1 ?)

Details

(Whiteboard: [223 Migration][Testcase see STR], URL)

(Reporter)

Description

7 years ago
User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; AskTbARS/5.8.0.12304)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6

I just upgraded from the older Thunderbird version 2.0.0.21 (20090302).

My software provides a text string that we copy/paste into Internet Explorer.  It is a basic "mailto" command which contains the To, Subject, and Body of the message.  Nothing fancy, but it works.

In the old Thunderbird the body of the message formatted correctly.  In the new version which we just upgraded to, the carriage returns are not working (%OD) as specified in the mailto command line.

Our code in the "mailto" has NOT changed.   It appears to be some bug because I cannot find any setting or solution and this started immediately upon upgrading to the new Thunderbird.

To duplicate this problem/error:
Copy/Paste this into Internet Explorer so it sends an email:  
mailto:john@xxx.com?&subject=Great Job John&body=Hello John!%0d%0dThank you for participating our study.%0d%0dYour comments and suggestions have been very valuable in the development of our products%0dYour thank you package will be shipping to the following address:%0d %0dJohn Doe%0d34457 Watkins Town Road%0dRaleigh, NC   27616%0d%0dAdditional shipping details will be emailed to you later via the ShipStream automated shipping system.%0dThank you again for your help.

In Thunderbird 2.0.0.21 it works FINE.
In Thunderbird 3.1.6 it does NOT format the carriage returns.

Reproducible: Always

Steps to Reproduce:
1. Copy/Paste this into Internet Explorer so it sends an email:  
mailto:john@xxx.com?&subject=Great Job John&body=Hello John!%0d%0dThank you for participating our study.%0d%0dYour comments and suggestions have been very valuable in the development of our products%0dYour thank you package will be shipping to the following address:%0d %0dJohn Doe%0d34457 Watkins Town Road%0dRaleigh, NC   27616%0d%0dAdditional shipping details will be emailed to you later via the ShipStream automated shipping system.%0dThank you again for your help.

2. In Thunderbird 2.0.0.21 it works FINE.
3. In Thunderbird 3.1.6 it does NOT format the carriage returns.
Actual Results:  
Hello John! Thank you for participating our study. Your comments and suggestions have been very valuable in the development of our products Your thank you package will be shipping to the following address: John Doe 34457 Watkins Town Road Raleigh, NC 27616 Additional shipping details will be emailed to you later via the ShipStream automated shipping system. Thank you again for your help.

Expected Results:  
Hello John! 

Thank you for participating our study. Your comments and suggestions have been very valuable in the development of our products Your thank you package will be shipping to the following address: 

John Doe 
34457 Watkins Town Road 
Raleigh, NC 27616 

Additional shipping details will be emailed to you later via the ShipStream automated shipping system. Thank you again for your help.

seems to be some change in the URI handling from Thunderbird 2.x to 3.x
Whiteboard: [223 Migration]
status-thunderbird3.1: --- → ?

Comment 1

7 years ago
Got this too in 3.1.10; you can demonstrate it not working by using an online mailto test at:

http://shadow2531.com/opera/testcases/mailto/modern_mailto_uri_scheme.html#test

I took care to encode the line breaks as %0D%0A, but it didn't work any way I tried (including using just %0D or %0A).

Worked in Outlook.

P.S. To the Tbird development team: you've come a long way, baby; product is getting quite solid...

Comment 2

7 years ago
A little more testing showed that the bug occurs when you omit quotes from the URI argument; I believe it _should_ work without quotes, but it does not. You get a command shell error indicating that it does not interpret the URI correctly.

Now if I can only get my browser to pass quotes (around the mailto argument) to Tbird correctly!
(it does not...)

Comment 3

7 years ago
Clarification: when you omit quotes from the command line argument, you get a peculiar error that suggests that the argument is getting truncated. Since there are no embedded spaces in the argument, I don't _think_ it's the command shell that is doing the truncating; rather, it's probably the command line argument parsing routines of Tbird.

If the command shell has no problem with it, I don't think quotes should be required...

Comment 4

7 years ago
Nix that previous observation; my URI string had, as expected, an embedded ampersand in it; and without the quotes, the command shell was intercepting it...

Comment 5

6 years ago
Confirming on TB12/WinXP.
Testcase of comment 0 is rendered correctly in OL, but not in TB.
In TB, carriage returns are missing/ignored. Odd.

See also: Bug 79128, Bug 693944.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Summary: The carriage returns are no longer working in URI / Mailto function. → Composition started from mailto: link removes carriage return characters %OD [ignores/does not parse/show line breaks / paragraphs contained in mailto:// URI / URL]
Whiteboard: [223 Migration] → [223 Migration][Testcase see STR]

Updated

6 years ago
Summary: Composition started from mailto: link removes carriage return characters %OD [ignores/does not parse/show line breaks / paragraphs contained in mailto:// URI / URL] → Composition, started from mailto: link, removes carriage return characters %OD [ignores/does not parse/show line breaks / paragraphs contained in mailto:// URI / URL]

Updated

6 years ago
OS: Windows 7 → All
Hardware: x86 → All
You need to log in before you can comment on or make changes to this bug.