From: <pri...@us...> - 2008-02-16 21:01:25
|
Revision: 5012 http://mantisbt.svn.sourceforge.net/mantisbt/?rev=5012&view=rev Author: prichards Date: 2008-02-16 13:01:17 -0800 (Sat, 16 Feb 2008) Log Message: ----------- SCRIPT_NAME returns raw php filename unlike PHP_SELF. Modified Paths: -------------- trunk/mantisbt/core/helper_api.php Modified: trunk/mantisbt/core/helper_api.php =================================================================== --- trunk/mantisbt/core/helper_api.php 2008-02-16 18:08:32 UTC (rev 5011) +++ trunk/mantisbt/core/helper_api.php 2008-02-16 21:01:17 UTC (rev 5012) @@ -276,7 +276,7 @@ print_hr(); PRINT "\n$p_message\n"; - PRINT '<form method="post" action="' . $_SERVER[ 'PHP_SELF' ] . "\">\n"; + PRINT '<form method="post" action="' . $_SERVER[ 'SCRIPT_NAME' ] . "\">\n"; print_hidden_inputs( gpc_strip_slashes( $_POST ) ); print_hidden_inputs( gpc_strip_slashes( $_GET ) ); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |