Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slashes in chapter name prevents chapter from downloading #62

Closed
ghost opened this issue Jun 8, 2020 · 2 comments
Closed

Slashes in chapter name prevents chapter from downloading #62

ghost opened this issue Jun 8, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Jun 8, 2020

Describe the bug
If the chapter contains a slash Mango attempts to open the file in a subfolder, which dosent exist and the download freezes.
[ERROR] 2020/06/08 20:13:44 | Error opening file with mode 'w': '/mnt/extrafiles/mango_lib/library/Dogeza De Tanondemita/Ch.40 Coming of Age/Adult's Day.cbz': No such file or directory

To Reproduce

  1. Download series 30590 chapter 40

Expected behavior
I would expect the slashes to be filtered out, as to prevent such issues, same with ".."

Environment (please complete the following information):

  • OS: Manjaro Linux 20.0.3 - Lysia
  • Browser: Firefox 77.0.1
  • Mango Version 0.5.2
@ghost ghost added the bug Something isn't working label Jun 8, 2020
@hkalexling
Copy link
Member

Thanks for the bug report! The issue is fixed in the development branch by replacing illegal characters with _. I will make a new release soon.

@ghost
Copy link
Author

ghost commented Jun 9, 2020

👍

@ghost ghost closed this as completed Jun 9, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant