Uploaded image for project: 'LaTeX'
  1. LaTeX
  2. LATEX-150

Exporting to LaTeX PDF with a query string is failing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 1.25
    • 1.24
    • Export
    • Integration
    • Unknown
    • N/A
    • N/A

    Description

      Exporting the following page to PDF using LaTeX used to work before XWiki 14.10 http://localhost:8080/xwiki/bin/view/LaTeX/?name=Vincent and is now failing.

      The problem is this URL gets saved and generates the following export URL: http://localhost:8080/xwiki/bin/latexexport/LaTeX/WebHome?name=Vincent&pdf=true

      Notice the &, which leads to the query string having a parameter of key amp;pdf and value pdf.

      I have the feeling this regression was introduced in XWiki 14.10 during the refactoring of the export modal in XWIKI-19877 (probably at https://github.com/xwiki/xwiki-platform/commit/a66f0c002dd6edff7dab13332ba330e01b9e7da8#diff-513265f577886d4b371f54017867adf1ae96fe6fe73fcd33e67acf590d7a915bR177 )

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: