Closed Bug 1562422 Opened 5 years ago Closed 3 years ago

Slowness and Can't Open Pdf files, because thunderbird allows / in folder names

Categories

(Thunderbird :: Folder and Message Lists, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: shantop, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36

Steps to reproduce:

create folder in INBOX
ex:
A\B
or
A/B

Actual results:

can't open pdf files that are attached in Folders (when folder gets big that's when you notice it)

Expected results:

don't allow use of / in folder names require them to use - or _
I had to copy all emails to a new email, delete this folder (but then it doesn't even delete says error deleting not found)

I can confirm that creating a folder using A/B on the system does cause a soft failure on the system. In that the files used to store data aren't created on the file system. This is probably the case on most Unix based OSes Linux,macOS,BSD.

It could be assumed that the A\B folder which is created in my tests would caused the error on Windows/Dos based systems or anything that use "\" instead of "/"

It goes without saying that not having a folder to delete would cause the deletion error, and not having a place to store the attachments would cause the errors when trying to open them. Especially larger files like PDFs tend to be.

Component: Untriaged → Folder and Message Lists
Status: UNCONFIRMED → NEW
Ever confirmed: true

IMAP folder or local folder? We are already replacing "undesired" characters (I'd have to go looking for the code).

My tests were both on both Local and IMAP folders.

What is slow?

And is it really true that "when folder gets big that's when you notice it"? If so, what amount is "big"?

g10?

(In reply to Wayne Mery (:wsmwk) from comment #4)

What is slow?

And is it really true that "when folder gets big that's when you notice it"? If so, what amount is "big"?

Flags: needinfo?(shantop)

Walt, what do you think of comment 1 and 2?

Flags: needinfo?(shantop) → needinfo?(wls220spring)

(In reply to Wayne Mery (:wsmwk) from comment #6)

Walt, what do you think of comment 1 and 2?

Since this bug was filed against version 69 I presumed a beta and tested using 73.0b1 on Ubuntu 18.04.3 Linux.

I had no problem creating an Inbox sub-folder called Test/A in my Local Folders. It appeared in my profile as Test7e8d2b7d and Test7e8d2b7d.msf in an Inbox,sbd folder. A Test\B showed up as Test\B and Test\B.msf.

Slightly different result with my Google IMAP account. The A folder became a sub-folder of the Test folder which was a sub-folder of the Inbox.

No problem deleting any of the Test folders.

So I think the files are being created and are there for deletion.

Flags: needinfo?(wls220spring)
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.