MantisBT: master-1.2.x 7e27a166

Author Committer Branch Timestamp Parent
dregad dregad master-1.2.x 2012-09-19 05:30 master-1.2.x 7f3b0e7c
Affected Issues  0014723: Force validation of upload path if file_upload_method == DISK
Changeset

Force validation of upload path if file_upload_method != DATABASE

Prior to this, the upload path would not be checked if it was empty
(ie. defaulting to $g_absolute_path_default_upload_folder),
which could cause issues if that directory was missing or read-only.

Checking this early allows catching any errors before users perform
actual operations on file attachments.

Fixes 0014723

mod - core/project_api.php Diff File