Sanitize manga title in page download subfolder name (#5514)
(cherry picked from commit fb35d7af59d3f5ed89506b5ac70c07669b00ef44)
This commit is contained in:
parent
4e8142b5b8
commit
04326d17bf
@ -709,7 +709,7 @@ class ReaderPresenter(
|
||||
// Pictures directory.
|
||||
val baseDir = getPicturesDir(context).absolutePath
|
||||
val destDir = if (preferences.folderPerManga()) {
|
||||
File(baseDir + File.separator + manga.title)
|
||||
File(baseDir + File.separator + DiskUtil.buildValidFilename(manga.title))
|
||||
} else {
|
||||
File(baseDir)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user