moderated Re: File listing order changed? Why? #suggestion #fixed


Derek Milliner
 

Same as Andy - doesn't render in email client, web or app.

The PDF icon thing may just be down to how the files are indexed. Simplistically you can use file extensions, but that's not reliable; just because it has .pdf or .docx doesn't mean it really is a PDF or word doc. Or you can use format signatures (magic bytes), where a file type will/should have known headers or byte patterns.

In the case of PDF files, the spec calls for the files to start with %PDF. However, many don't and most readers will happily open and parse files without it. If whatever tooling Mark is using to create the directory indexes relies on finding %PDF then you can see how the situation you describe might arise.

Join main@beta.groups.io to automatically receive all group messages.