1
0
Fork 0
mirror of https://github.com/mihonapp/mihon.git synced 2025-03-08 15:35:42 +03:00

Sanitize source download folder name (fixes )

This commit is contained in:
arkon 2021-04-23 08:43:47 -04:00
parent d0bf93ebb7
commit fa31369f99

View file

@ -115,7 +115,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())
}
/**