- 
    Bug 
- 
    Resolution: Obsolete
- 
    Low 
- 
    None
- 
    5.1.3
- 
    Windows Server 2008 R2 
If the title of a page in Confluence contains the colon character then it fails when a user attempts to use "Export to PDF" on a page when Confluence is running on Windows as it attempts to use the invalid character in the generated PDF's file name.
:
The result is a System Error page with the following...
Cause
com.atlassian.confluence.importexport.ImportExportException: Failed to create a location and file for the PDF export.
    at com.atlassian.confluence.extra.flyingpdf.FlyingSaucerXmlToPdfConverter.convertXhtmlToPdf(FlyingSaucerXmlToPdfConverter.java:53)
caused by: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
    at java.io.WinNTFileSystem.canonicalize0(Native Method)
Stack Trace:
com.atlassian.confluence.importexport.ImportExportException: Failed to create a location and file for the PDF export.
	at com.atlassian.confluence.extra.flyingpdf.FlyingSaucerXmlToPdfConverter.convertXhtmlToPdf(FlyingSaucerXmlToPdfConverter.java:53)
	at com.atlassian.confluence.extra.flyingpdf.FlyingSaucerXmlToPdfConverter.convertXhtmlToPdf(FlyingSaucerXmlToPdfConverter.java:39)
	at com.atlassian.confluence.extra.flyingpdf.FlyingSaucerPdfExporterService.createPdfForPage(FlyingSaucerPdfExporterService.java:98)
	at com.atlassian.confluence.extra.flyingpdf.ExportPageAsPdfAction.execute(ExportPageAsPdfAction.java:27)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)
...
- duplicates
- 
                    CONFSERVER-24389 Export to PDF on Windows returns a stack trace if the name of the page has a ':' symbol -         
- Closed
 
-