Sanitize source download folder name (fixes #4945)

(cherry picked from commit fa31369f99a1b25d669b7534960192a85fdd1e1f)
This commit is contained in:
arkon 2021-04-23 08:43:47 -04:00 committed by Jobobby04
parent 80bf908133
commit bda4aae83d

View File

@ -139,7 +139,7 @@ class DownloadProvider(private val context: Context) {
* @param source the source to query.
*/
fun getSourceDirName(source: Source): String {
return source.toString()
return DiskUtil.buildValidFilename(source.toString())
}
/**