Closed Bug 1607510 Opened 5 years ago Closed 5 years ago

Missing double quotes when passing filename to external program

Categories

(Thunderbird :: FileLink, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1601905

People

(Reporter: Aron.Somodi, Unassigned)

Details

(Keywords: regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0

Steps to reproduce:

I've clicked on an attachment to open it.

Actual results:

When the filename has spaces in it, there are multiple dialogs about not finding the file, so when the filename has 3 spaces separating words in it, there are 4 dialogs.

Expected results:

Prior to version 72 everything worked fine, since Thunderbird has passed the filename in double quotes, like "this is a file.pdf", so the external application knew he got one filename as one parameter in double quotes.

From version 72 it passes the above filename as
this
is
a
file.pdf
which renders opening links unusable.

Saving the file to somewhere then opening it is the only possible solution ATM.
(I also created a Windows .CMD file to check how many parameters it gets, and when calling it from TB 72 it got 4 parameters taking the above example.

I've attached the two dialogs I've got with opening "sc-PortaCreator_Kieg december1.xlsx" (there are no double quotes in the filename, of course, bug TB should pass filenames like this).

Group: mail-core-security
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Keywords: regression
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: