Well,
I discovered the problem after tracing the path through using NetBeans the problem
is that the code appears to be passing the values to an issue through URL strings and the values
are not URL encoded.
I made these slight modifications to the code.
plugins/importexport/core/print_api.php
modified line 236 of urlencode to see if that helps with the problem.
echo &
#039;<input type="hidden" name="&
#039; . $t_key . &
#039;_&
#039; . $i . &
#039;" value="&
#039; . urlencode($t_value) . &
#039;" />&
#039; . "\n";
core/gpc_api.php
modified line 74 added urldecode to return of $t_result
return urldecode($t_result);
I also had to increase my
max_execution_time = 60
; Maximum execution time of each script, in seconds
as it appears that it now takes noticeably longer to process issues.
I suspect there is a more efficient elegant way to handle this. But for anyone having problems
importing it issues in the description where they use double quotes this may solve the problems that
I was experiencing.
In general, I believe passing information through URL strings should be URL encoded as a general best practice.
I&
#039;ve also entered in an issue into the Mantis bug tree since my fix/hack required a change there. [
www.mantisbt.org]
Edited 2 time(s). Last edit at 08/22/2009 12:13AM by swingkid.