Don't validate the page number and extension when saving a page

This commit is contained in:
len
2016-11-26 12:34:54 +01:00
parent ea790faeb3
commit bb89b72a81
2 changed files with 5 additions and 4 deletions

View File

@@ -50,8 +50,8 @@ object DiskUtil {
}
}
// Even though vfat allows 255 UCS-2 chars, we might eventually write to
// ext4 through a FUSE layer, so use that limit minus 5 reserved characters.
return sb.toString().take(250)
// ext4 through a FUSE layer, so use that limit minus 15 reserved characters.
return sb.toString().take(240)
}
/**