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."}

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2898832 ] New: CONFSERVER Bug Workflow v4 [ 2993311 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2791446 ] New: JAC Bug Workflow v3 [ 2898832 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2721418 ] New: JAC Bug Workflow v2 [ 2791446 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2391411 ] New: JAC Bug Workflow [ 2721418 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2271416 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2391411 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2221578 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2271416 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2166453 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2221578 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1923804 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2166453 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1732370 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1923804 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Bug Subtask WF (TEMP) [ 1688151 ] New: Confluence Workflow - Public Facing - Restricted v3 [ 1732370 ]

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

                Created:
                Updated:
                Resolved: