Sanitize manga title in page download subfolder name (#5514)

pull/5516/head
SBence 3 years ago committed by GitHub
parent c254aa6fcc
commit fb35d7af59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -596,7 +596,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…
Cancel
Save