Closed Bug 461742 Opened 17 years ago Closed 12 years ago

Dashes in command line arguments sometimes handled as a command line flags

Categories

(Thunderbird :: Message Compose Window, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: alkar75, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.0.1) Gecko/2008070400 SUSE/3.0.1-0.1 Firefox/3.0.1 Build Identifier: 2.0.0.12 (20071114) Thunderbird handles dashes in a command line arguments incorrectly. When an argument contains a sequence of space and dash (' -') argument is truncated. There is also a warining in the console: Warning: unrecognized command line flag - Reproducible: Always Steps to Reproduce: 1. Enter in the console: thunderbird -compose subject="The subject with - dash" Actual Results: New message window is opened with the subject: The subject with Expected Results: New message window is opened with a subject: The subject with - dash
Tried with subject, body and attachment parameters. Reproduced for each parameter.
Version: unspecified → 2.0
wfm WinXP / TB Trunk 24.0a1 (2013-05-25) may or may not be broken on TB2 (which used partially different parameter system, too), but we no longer fix bugs there unless shown otherwise, I assume this works under Linux, too This is what I tested (all working as expected) C:\Programme\Daily\thunderbird.exe -purgecaches -p Profile.Daily -no-remote -compose "subject='The subject with - dash',body='test body with - dash',attachment='C:\Dokumente und Einstellungen\UserXXX\Desktop\test - dash.txt'" C:\Programme\Daily\thunderbird.exe -purgecaches -p Profile.Daily -no-remote -compose "subject='The subject with -compose',body='test body with -compose',attachment='C:\Dokumente und Einstellungen\UserXXX\Desktop\schrott2 -compose.txt'" http://kb.mozillazine.org/Command_line_arguments_%28Thunderbird%29
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.