MantisBT: master-1.2.x b569cae8

Author Committer Branch Timestamp Parent
dregad dregad master-1.2.x 2011-08-08 23:21 master-1.2.x 3d91625b
Affected Issues  0013225: Inconsistent handling of project file upload path
Changeset

Fix 0013225: Inconsistent handling of project file upload path

Create a new function in project api to handle the file path validation and
move the code comparing project file path check vs default path currently in
manage_proj_create.php into the new function.

The function is called from both project_create and project_update to ensure
consistent behavior.

mod - core/project_api.php Diff File
mod - manage_proj_create.php Diff File