https://bugs.documentfoundation.org/show_bug.cgi?id=155476
Bug ID: 155476
Summary: 'Store on server' garbles filenames from unixoid
sources (Linux & probably MacOSX, xxxBSD)
Product: LibreOffice
Version: 7.3.7.2 release
Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
Description:
LibreOffice (here: Writer 7.3.7.2 on Fedora 36) treats all (source-)file-names
as if they would come from a MicroSoftish Windows box, if one transfers stuff
to a server with the 'File -> Store on server' function.
I.e. it splits the file name at the first dot (.) into:
<name>.<extention>
By this it garbles a source file name 'Watcher-Master-1.4doc' being:
'Watcher-Master-1' with extention '4doc'.
Even worse: It then thinks, that there already is an 'extention' "4doc" and
ignores to attach the '.odt' to the end of the target file.
Steps to Reproduce:
1. Create a writer document (odt) with a filename that has probably _several_
dots (.) in it; e.g. 'Release-notes-1.5.6-Patchlevel-12.8' which has/gets a
'.odt' ending as it is a 'Writer' document.
This is absolutely a legal filename on ALL NON-MICROSOFTISH systems.
(Linux, MacOS, xxxBSD, etc.)
2. Provide a server with a path were files can be stored;
e.g. '/var/www/docs/' where the particular user has rigths to store data.
3. Store above file, that you have created in (1.) from within 'Writer' with
the 'File -> Store on Server' function.
4. Wonder what you get on the target server ...
Actual Results:
Names of transfered files come out garbled on the target server.
Expected Results:
Above ODT file name 'Release-notes-1.5.6-Patchlevel-12.8' should come out in
the target path on the target server as:
'Release-notes-1.5.6-Patchlevel-12.8.odt'
Care should be taken that the '.odt' ending is NOT doubled, even if the user
typed-in the '.odt' ending erronously in the file name box and one gets a
result like:
'Release-notes-1.5.6-Patchlevel-12.8.odt.odt'
Reproducible: Always
User Profile Reset: No
Additional Info:
There is NO SUCH THING than an 'extention' in filenames, that come from an
unixoid OS. A filename can contain ANYTHING EXCEPT a slash (/), since this
denotes directories in file-hierarchy on all unixoid platforms.
Filenames are just names + an ending that provides a 'hint' of what it is.
--
You are receiving this mail because:
You are the assignee for the bug.