Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-38551

AppLinks returns XML even if JSON is requested

    XMLWordPrintable

Details

    Description

       curl -v -n --header 'content-type: application/json;charset=UTF-8' https://issues.citrite.net/rest/applinks/2.0/listApplicationlinks
      * About to connect() to issues.citrite.net port 443 (#0)
      *   Trying 10.80.16.64... connected
      * successfully set certificate verify locations:
      *   CAfile: none
        CApath: /etc/ssl/certs
      * SSLv3, TLS handshake, Client hello (1):
      * SSLv3, TLS handshake, Server hello (2):
      * SSLv3, TLS handshake, CERT (11):
      * SSLv3, TLS handshake, Server key exchange (12):
      * SSLv3, TLS handshake, Server finished (14):
      * SSLv3, TLS handshake, Client key exchange (16):
      * SSLv3, TLS change cipher, Client hello (1):
      * SSLv3, TLS handshake, Finished (20):
      * SSLv3, TLS change cipher, Client hello (1):
      * SSLv3, TLS handshake, Finished (20):
      * SSL connection using ECDHE-RSA-AES256-SHA
      * Server certificate:
      *        subject: C=US; ST=California; L=Santa Clara; O=Citrix Systems Inc.; OU=CPG; CN=issues.citrite.net
      *        start date: 2014-04-15 13:35:11 GMT
      *        expire date: 2015-03-14 00:00:00 GMT
      *        subjectAltName: issues.citrite.net matched
      *        issuer: O=Cybertrust Inc; CN=Cybertrust Public SureServer SV CA
      *        SSL certificate verify ok.
      * Server auth using Basic with user '.bot'
      > Authorization: Basic LmJvdDp4ZmdjNTQzNmNoZw==
      > User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
      > Host: issues.citrite.net
      > Accept: */*
      > content-type: application/json;charset=UTF-8
      >
      < HTTP/1.1 200 OK
      < Server: nginx/1.6.0
      < Date: Fri, 30 May 2014 11:50:56 GMT
      < Content-Type: application/xml;charset=UTF-8
      < Content-Length: 5922
      < Connection: keep-alive
      < X-AREQUESTID: 710x5102092x2
      < Set-Cookie: JSESSIONID=90D80A6562250C5C63DB34721B6F78AB; Path=/; HttpOnly
      < X-Seraph-LoginReason: OK
      < Set-Cookie: atlassian.xsrf.token=AXYJ-U5JK-L1J8-MFCP|c585b14ea7bfc6738a5f3bd7a3dfe15ac9399337|lin; Path=/
      < X-ASESSIONID: gi3g2r
      < X-AUSERNAME: .bot
      < Cache-Control: no-cache, no-store, no-transform
      < X-Content-Type-Options: nosniff
      <
      <?xml version="1.0" encoding="UTF-8" standalone="yes"?><list><list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="linkAndAuthProviderEntity"><application><link href="https://issues.citrite.net/rest/applinks/2.0/applica
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              73f0b2e75f82 Sorin Sbarnea (Citrix)
              Votes:
              10 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: