Bug 154580 - Collabora Office : can't insert an image with spaces in its filename
Summary: Collabora Office : can't insert an image with spaces in its filename
Status: RESOLVED MOVED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Android Editor (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: ARM Android
: medium normal
Assignee: Not Assigned
URL: https://github.com/CollaboraOnline/on...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-03 10:28 UTC by Locness
Modified: 2023-04-03 12:39 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Locness 2023-04-03 10:28:01 UTC
Description:
When inserting a local image and selecting one that has one or more spaces in its filename, the image is not inserted and the following error shows :

  The server encountered a syntax error while parsing the insertfile command.

The app's version is 21.11.6.1.

Steps to Reproduce:
1. Open a document
2. Tap the pencil to edit it
3. Tap the "insert" (the icon with 3 cards and a plus) button in the top toolbar
4. The Android file picker shows. Select an image with a space in its name.

Actual Results:
The selected image is not inserted and the following error is displayed :

  The server encountered a syntax error while parsing the insertfile command.


Expected Results:
The selected image is inserted in the document


Reproducible: Always


User Profile Reset: No

Additional Info:
Android version is 9, Sony stock ROM with build number 47.2.A.11.228.

About dialog shows
- COOLWSD version: 21.11.6.1, git hash 6706dd45
- LOKit version: Collabora Office 21.06.32.1, git hash e211b5b
Comment 1 Stéphane Guillou (stragu) 2023-04-03 10:57:22 UTC
This is also reported in https://github.com/CollaboraOnline/online/issues/1306
Marking as "moved" as it is probably best tracked there.