Closed Bug 281460 Opened 20 years ago Closed 20 years ago

name of attached file wrong, if its pathname contains a '#' character

Categories

(Thunderbird :: Message Compose Window, defect)

x86
Windows XP
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 243504

People

(Reporter: andized, Assigned: mscott)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

i tried to send 2 rar-files, which where located in the following path on my
windows pc, to a friend: "K:\Coding\c#". when i tried to attach them their name
in the attachment window changed both to "c". after playing around a bit i found
out, the filenames will be changed to the name of their parent directory,
truncated at the #. if the files are located in a directory that starts with an
'#', they wont get a name and you will only see their icon (the icon is
displayed correctly).

the receiver of the mail will see the correct filename, if the directory started
with a '#'. if the directory contained a '#', but had some characters before, he
will see the wrong filename.


Reproducible: Always

Steps to Reproduce:
1. put a file you want to attach into a directory that contains a '#' character
(e.g. "foo#bar")
2. try to attach the file


Actual Results:  
the displayed filename changes to "foo", the receiver will get a file called "foo"

Expected Results:  
the displayed & sent filename should be the same as on the senders pc.
Whiteboard: DUPME
Version: unspecified → 1.0

*** This bug has been marked as a duplicate of 243504 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Cleanup *dupeme* whiteboard flag from bugs that are marked as Resolved
Duplicate!
Whiteboard: DUPME
You need to log in before you can comment on or make changes to this bug.