View Issue Details

IDProjectCategoryView StatusLast Update
0008051mantisbtlocalizationpublic2007-08-02 02:28
ReporterJames Fu Assigned Tozakman  
PrioritynormalSeveritytrivialReproducibilityalways
Status closedResolutionfixed 
Product Version1.1.0a3 
Fixed in Version1.1.0a4 
Summary0008051: [all lang] Wrong fIlename on print report
Description

While View Issues and print report to work or excel file with non-english name, it name is unreadable.

Additional Information

I think you may fix it in line 47 of file print_all_bug_page_word.php

if(preg_match( "/MSIE/", $_SERVER["HTTP_USER_AGENT"] )) {
header( 'Content-Disposition: attachment; filename="' . urlencode($t_export_title) . '.doc"' );
} else {
header( 'Content-Disposition: attachment; filename="' . $t_export_title . '.doc"' );
}
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

in line 46 of file print_all_bug_page_excel.php

if(preg_match( "/MSIE/", $_SERVER["HTTP_USER_AGENT"] )) {
header( 'Content-Disposition: attachment; filename="' . urlencode($t_export_title) . '.xls"' ) ;
} else {
header( 'Content-Disposition: attachment; filename="' . $t_export_title . '.xls"' );
}
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

TagsNo tags attached.

Activities

There are no notes attached to this issue.