MantisBT: master 8d7b8400

Author Committer Branch Timestamp Parent
dregad dregad master 2013-09-25 23:45 master 0582c17c
Affected Issues  0016410: "Delete project settings" buttons on manage config pages do not redirect properly
Changeset

Reintroduce form_action_self() api

This is a partial revert of 38b0212651d368b85858a3820ddbc0150ae32a42.

There are some cases, specifically in the manageconfig* pages, where
form_action_self() is not used directly as a form's action, but passed
to another script to be used for redirections.

Using '' instead of $_SERVER['PHP_SELF'] in this context results in
incorrect redirection (i.e. Mantis will redirect to the user's default
page).

Fixes 0016410

mod - core/form_api.php Diff File
mod - manage_config_email_page.php Diff File
mod - manage_config_work_threshold_page.php Diff File
mod - manage_config_workflow_page.php Diff File