View Issue Details

IDProjectCategoryView StatusLast Update
0014723mantisbtattachmentspublic2014-09-23 18:05
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.2.12 
Target Version1.2.12Fixed in Version1.2.12 
Summary0014723: Force validation of upload path if file_upload_method == DISK
Description

This allows catching any errors (e.g. missing dir, lack of write access) early on, and avoids errors occuring when users perform actual operations on attachments.

TagsNo tags attached.

Relationships

related to 0015721 closedgrangeway Functionality to consider porting to master-2.0.x 

Activities

grangeway

grangeway

2013-04-05 17:56

reporter   ~0036191

Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch

Related Changesets

MantisBT: master-1.2.x 7e27a166

2012-09-19 05:30

dregad


Details Diff
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
Affected Issues
0014723
mod - core/project_api.php Diff File

MantisBT: master 27f5b4f1

2012-09-19 05:30

dregad


Details Diff
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
Affected Issues
0014723
mod - core/project_api.php Diff File