Novik / ruTorrent

Yet another web front-end for rTorrent
Other
2.03k stars 413 forks source link

_getdir plugin issues displaying proper file names #2757

Closed nelu closed 2 weeks ago

nelu commented 2 weeks ago

What would you like changed about the web client?

Seems the _getdir plugins has a problem displaying file names containing multiple spaces " " The issue is similiar with https://github.com/nelu/rutorrent-filemanager/issues/54

Describe the solution you'd like and propose possible alternatives.

A similar fix with https://github.com/nelu/rutorrent-filemanager/issues/54 if possible: textVar.replace(/ /g, '\u00a0')

Provide information and resources about the environment hosting the web client.

Docker: https://hub.docker.com/r/unzel/rutorrent-filemanager/

Additional context

Shows without whitespaces for a file named " Poma": image image

While in the reality the file is named: image

stickz commented 2 weeks ago

Can you submit a PR? We'll test and review it.