Export to PDF fails on Windows if title contains colon character

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Low
    • None
    • Affects Version/s: 4.1.3
    • Component/s: Page - Export / Import
    • Environment:

      1. Create a new page in Confluence with : in the title, ie. This is: title
      2. Export this page to PDF
      3. Confluence fails to export PDF and gives an error:
        java.io.IOException: The filename, directory name, or volume label syntax is incorrect
            at java.io.WinNTFileSystem.canonicalize0(Native Method) 
        java.io.IOException: The filename, directory name, or volume label syntax is incorrect
        	at java.io.WinNTFileSystem.canonicalize0(Native Method)
        	at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:396)
        	at java.io.File.getCanonicalPath(File.java:559)
        	at com.atlassian.confluence.extra.flyingpdf.ExportPageAsPdfAction.prepareDownloadPath(ExportPageAsPdfAction.java:65)
        	at com.atlassian.confluence.extra.flyingpdf.ExportPageAsPdfAction.execute(ExportPageAsPdfAction.java:35)
        ...
        

            Assignee:
            Unassigned
            Reporter:
            Teemu Qvick
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: