MantisBT - TestLink
View Issue Details
0005775TestLinkReportspublic2013-06-13 08:592013-09-08 17:55
seajays 
fman 
normalminoralways
closedfixed 
IntelWindowsServer 2003
1.9.7 (2013 Q2 - bug fixing) 
1.9.8 (2013 Q3 - bug fixing) 
MySQL
Firefox 21.0
READY FOR TESTING
0005775: Reports are naming Word document incorrectly in Save Dialog SPURIOUS CHAR on context
When selecting a Word document report the save dialog saves with the name pintDocument.php

This document cannot be opened without renaming to .doc file. (See screenshot)
1) Go to test reports
2) Select Report format "MS Word"
3) Select "Test Report"
4) Click the report tree to generate the report
5) Dialog opens to save as "printDocument.php"
Looking at the return HTTP headers, it seems that the "Content-type" has a spurious "}" character which may be affecting the naming.

HTTP/1.1 200 OK
Date: Thu, 13 Jun 2013 08:48:39 GMT
Server: Apache/2.2.22 (Win32) PHP/5.4.6
X-Powered-By: PHP/5.4.6
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Description: TestLink - Generated Document (see flushHttpHeader)
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: application/vnd.ms-word; name='Testlink_4'}
No tags attached.
child of 0005731closed fman Availables hot-fixes for 1.9.7 & How To get full fixed package from gitorious 
png greenshot_2013-06-13_09-49-00.png (17,653) 2013-06-13 08:59
http://mantis.testlink.org/file_download.php?file_id=3346&type=bug
png
Issue History
2013-06-13 08:59seajaysNew Issue
2013-06-13 08:59seajaysFile Added: greenshot_2013-06-13_09-49-00.png
2013-06-13 11:46fmanSummaryReports are naming Word document incorrectly in Save Dialog => Reports are naming Word document incorrectly in Save Dialog SPURIOUS CHAR on context
2013-06-13 11:46fmanAdditional Information Updatedbug_revision_view_page.php?rev_id=2821#r2821
2013-06-14 18:51fmanNote Added: 0019145
2013-06-14 18:51fmanQA Team - Task Workflow StatusTBD => READY FOR TESTING
2013-06-14 18:51fmanStatusnew => resolved
2013-06-14 18:51fmanFixed in Version => 1.9.8 (2013 Q3 - bug fixing)
2013-06-14 18:51fmanResolutionopen => fixed
2013-06-14 18:51fmanAssigned To => fman
2013-06-14 18:51fmanRelationship addedchild of 0005731
2013-09-08 17:55fmanNote Added: 0019557
2013-09-08 17:55fmanStatusresolved => closed

Notes
(0019145)
fman   
2013-06-14 18:51   
http://gitorious.org/testlink-ga/testlink-code/commit/83bcc111b4cd29171dfd78f49d71c1a51beafba9 [^]
(0019557)
fman   
2013-09-08 17:55   
1.9.8 released