Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2676

[PATCH] basic-link external-destination does not work for file URI with spaces.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5, 2.1
    • None
    • renderer/pdf
    • None

    Description

      For example:
      <fo:basic-link external-destination="file:///C:/temp/simple%20report.docx" text-decoration="underline">simple report</fo:basic-link>

      Fails to find the correct target because the PDF link is
      << /Type /Filespec /F (/C:/temp/simple%20report.docx) >>

      It should be
      << /Type /Filespec /F (C:/temp/simple report.docx) >>

      Note that there is no slash in front of C: and %20 is now a space.

      Attachments

        1. fop-2676.patch
          42 kB
          Eric Lim
        2. patched.pdf
          6 kB
          Eric Lim
        3. original.pdf
          6 kB
          Eric Lim
        4. external_link_uri.fo
          3 kB
          Eric Lim

        Activity

          People

            ssteiner Simon Steiner
            esclim Eric Lim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: