Closed Bug 285467 Opened 20 years ago Closed 6 years ago

Cannot send message with attachment when filename specified in double quotes

Categories

(Thunderbird :: Message Compose Window, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: ekot, Unassigned)

Details

User-Agent:       Opera/7.54 (Windows NT 5.1; U)  [en]
Build Identifier: version 1.5.0.4d (20041206) (Thunderbird 1.0)

After attaching file which filename was specified in double quotes Thunderbird, 
shows file as attached to message, but cannot send it. It shows error: There was 
an error attaching file <filename>. Please check if you have access to the file

Reproducible: Always

Steps to Reproduce:
1.Create new message
2.Use File-Attach menu
3.Enter filename of existing file enclosed in double quotes
4.After attaching try to send message 

Actual Results:  
Error message is shown "There was an error attaching file <filename>. Please 
check if you have access to the file"

Expected Results:  
Send message.

When attaching file with/without spaces in path it shows different error 
messages. This is very annoying bug, since quoted filenames are used often in 
windows.
Are you saying the filename actually contains double quotes?  That's not legal 
under Windows.

(In reply to comment #1)
> Are you saying the filename actually contains double quotes?  That's not legal 
> under Windows.
No, I just typed it in double quotes (cut and pasted from another program 
actually, it is faster then finding file in open dialog). This works with 
standard windows programs e.g. notepad
(In reply to comment #2)
> I just typed it in double quotes (cut and pasted from another program 
> actually, it is faster then finding file in open dialog). 

OK, I see this -- if the file is specified by the entire path.  Just typing a 
file name (which exists in the current directory) with quotes is handled 
normally.

Reproduced with TB 1.0+0309, Win2K.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → Windows 2000
Version: unspecified → Trunk
QA Contact: message-compose
Assignee: mscott → nobody
wfm on winXP (TB 17.0.6), but reported against Win2K.

Can somebody test this on Win2K?

> Steps to Reproduce:
> 1.Create new message
> 2.Use File-Attach menu
> 3.Enter filename of existing file enclosed in double quotes
In Attach File(s) dialogue, type full file path (preferably different from currently shown path) enclosed in double quotes, like this:
"C:\folder with spaces\file name with spaces.txt"
> 4.After attaching try to send message
Flags: needinfo?
Keywords: qawanted

Both XP and win2k are no longer supported. I tested win7 attaching "desktop.ini" and no failure

Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?
Keywords: qawanted
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.