Skip to content

Web player fails to play files when filename contains a '+' character #239

@minteral

Description

@minteral

Describe the bug
When a filename contains a + character, the audio player in the web interface does not play the file.

To Reproduce
Steps to reproduce the behavior:

  • Go to the library.
  • Rename a taf file and add a + character to its filename.
  • Try to play the renamed file in the web interface. The file does not play.
  • Remove the + from the filename and try again. The player successfully plays the file.

Expected behavior
The audio player should be able to play files even if their filenames contain a + character.

Technical Details:
Version: TeddyCloud v0.6.4 (f13703a)
Docker: yes
Docker image used: ubuntu linux-x86_64(64)

Attach logs of teddyCloud:
INFO |handler_api.c:2317:handleApiFileMove| Moving file: '/teddycloud/data/library/Pumuckl 01&02.taf' to '/teddycloud/data/library/Pumuckl 01+02.taf'
ERROR|handler_api.c:1668:handleApiContent| File does not exist '/teddycloud/data/library/Pumuckl 01 02.taf'
WARN |server_helpers.c:0806:httpServerUriNotFoundCallback| >> 404 /content/Pumuckl 01 02.taf

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions