Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • G gajim-plugins
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 44
    • Issues 44
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gajim
  • gajim-plugins
  • Issues
  • #528

Closed
Open
Created Oct 24, 2020 by tom@tom

Images with question mark character in filenames are not displayed, and cannot be downloaded

Please first check if another issue has been opened for your problem

Versions

  • OS: Ubuntu 20.04.1
  • Gajim version: 1.2.91+gajim@7ac4ba3b
  • GTK version: 3.24.20
  • Python-nbxmpp version: 1.91.0

Steps to reproduce the problem

  1. Upload image file with special name, I suspect containing a question mark.

Expected behavior

  1. File is automatically downloaded and displayed.
  2. If not, click on the file and it downloads and can be saved.

Actual behavior

File is only displayed in some cases. In other cases, one cannot even download the file. Conversations does display the files correctly. From the attached images, only those without a question mark in the filename are displayed.

The other are displayed as a aesgcm:// link aesgcm:////f1ba3e06-1294-40a2-b249-d4ec78166a8c/org.gajim.Gajim.png%3fwidth%3d64.png#c3...60

If I click on the link the below download window is shown and it is stuck perpetually. Note that this is indeed the org.gajim.Gajim.png?width=64.png, and everything starting from the "?" is not processed somehow.

Nnote that the filenames I sent are the following, each one with the same content, but different name. gitlab automatically converts the filenames:

org.gajim.Gajim.png
org.gajim.Gajim.png?width=64.png
org.gajim.Gajim.png?width.png
org.gajim.Gajim.width=64.png
org.gajim.Gajim?width.png

image

Edited Oct 25, 2020 by Philipp Hörist
Assignee
Assign to
Time tracking