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

Accepting application/json results in {"errorMessage":"You are not logged in. <a href=\"/login.action\">Log in<\/a> here and try again."}

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Low Low
    • None
    • 3.0.2, 3.4.1
    • None
    • FireFox with JSONovich plugin

      When using the JSONovich plugin for firefox, Confluence sends its not-permitted response as JSON:

      {"errorMessage":"You are not logged in. <a href=\"/login.action\">Log in<\/a> here and try again."}

      Instead of HTML.

      I send

      Host wiki.xxxx.com
      User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12
      Accept text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8,application/json
      Accept-Language en-gb,en;q=0.5
      Accept-Encoding gzip,deflate
      Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
      Keep-Alive 115
      Connection keep-alive
      Cookie JSESSIONID=B9DA0F6974E23DCB879EAADE32DAB3CC

      Response headers include

      Date Fri, 12 Nov 2010 08:32:03 GMT
      Server Apache-Coyote/1.1
      Cache-Control no-cache, must-revalidate
      Expires Thu, 01 Jan 1970 00:00:00 GMT
      X-Confluence-Request-Time 1289550723929
      Content-Type application/javascript;charset=UTF-8
      Connection close
      Transfer-Encoding chunked

      I would expect an HTML page of some description

      URL is
      http://wiki.xxxx.com/display/SITES/JSON+interface+specs

            [CONFSERVER-21232] Accepting application/json results in {"errorMessage":"You are not logged in. <a href=\"/login.action\">Log in<\/a> here and try again."}

              shaffenden Steve Haffenden (Inactive)
              9c026d470924 paul hinds
              Affected customers:
              2 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: