Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-22305

Incorrect pdf mimetype with REST API

    XMLWordPrintable

Details

    Description

      When using the REST API to search, it has a typo for pdf export links:

      <link rel="alternate" type="text/html" href="https://localhost:8080/display/eco/Project+Lifecycle"/><link rel="alternate" type="applicaton/pdf" href="https://localhost:8080/spaces/flyingpdf/pdfpageexport.action?pageId=1896547555"/><link rel="self" href="https://localhost:8080/rest/prototype/1/content/1896547555"/><title>
      

      You can test this yourself by going to http://localhost:8080/rest/prototype/1/search/site
      It needs to be changed from applicaton/pdf to application/pdf.

      Attachments

        Activity

          People

            matt@atlassian.com Matt Ryall
            dmeer Dennis Kromhout van der Meer (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: