1) When trying to download a file using the download script, getFullPath gets an object from the database, not a string, therefore the preg_match errors. This can be fixed with
before the preg_match
2) When not obfuscating the filename, the system just names the file "blob".
3) The auto-renaming functionality is not working if a file of the same name exists.
4) Not a bug, maybe, but a question. If you obfuscate a filename and download via script, shouldn't the filename be unobfuscated? As far as I can tell when using obfuscate, the original name isn't stored anywhere.
Code:
if (is_object($filepath))
{
$filepath=$filepath->file;
}
2) When not obfuscating the filename, the system just names the file "blob".
3) The auto-renaming functionality is not working if a file of the same name exists.
4) Not a bug, maybe, but a question. If you obfuscate a filename and download via script, shouldn't the filename be unobfuscated? As far as I can tell when using obfuscate, the original name isn't stored anywhere.