Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-411

Accessing Service Desk anonomously with a changed project key causes "Too Many Redirects"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Low
    • 1.2.6
    • None
    • Customer Portal
    • None

    Description

      NOTE: This bug report is for JIRA Service Desk Server. Using JIRA Service Desk Cloud? See the corresponding bug report.

      To reproduce:

      • Change the project key regexp to ([A-z0-9]+)
      • Create a service desk containing a digit (e.g. 3abc)
      • Log out and access http://localhost:8620/servicedesk/customer/3abc
      • You'll get a return of 310 - ERR_TOO_MANY_REDIRECTS.
      • When logged in as an authorized user, the problem does not show up.
      wget http://localhost:8620/servicedesk/customer/3abc
      --2014-03-18 14:11:40--  http://localhost:8620/servicedesk/customer/3abc
      Resolving localhost... ::1, 127.0.0.1, fe80::1
      Connecting to localhost|::1|:8620... connected.
      HTTP request sent, awaiting response... 302 Found
      Location: http://localhost:8620/servicedesk/customer//user/login?destination=3abc [following]
      --2014-03-18 14:11:40--  http://localhost:8620/servicedesk/customer//user/login?destination=3abc
      Reusing existing connection to [localhost]:8620.
      HTTP request sent, awaiting response... 302 Found
      Location: http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin [following]
      --2014-03-18 14:11:40--  http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin
      Reusing existing connection to [localhost]:8620.
      HTTP request sent, awaiting response... 302 Found
      Location: http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin [following]
      --2014-03-18 14:11:40--  http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin
      Reusing existing connection to [localhost]:8620.
      HTTP request sent, awaiting response... 302 Found
      Location: http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin [following]
      --2014-03-18 14:11:40--  http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin
      Reusing existing connection to [localhost]:8620.
      HTTP request sent, awaiting response... 302 Found
      Location: http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin [following]
      --2014-03-18 14:11:40--  http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin
      Reusing existing connection to [localhost]:8620.
      HTTP request sent, awaiting response... 302 Found
      Location: http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin [following]
      --2014-03-18 14:11:40--  http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin
      Reusing existing connection to [localhost]:8620.
      HTTP request sent, awaiting response... 302 Found
      Location: http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin [following]
      --2014-03-18 14:11:40--  http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin
      Reusing existing connection to [localhost]:8620.
      HTTP request sent, awaiting response... 302 Found
      Location: http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin [following]
      --2014-03-18 14:11:40--  http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin
      Reusing existing connection to [localhost]:8620.
      HTTP request sent, awaiting response... 302 Found
      Location: http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin [following]
      --2014-03-18 14:11:40--  http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin
      Reusing existing connection to [localhost]:8620.
      HTTP request sent, awaiting response... 302 Found
      Location: http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin [following]
      --2014-03-18 14:11:40--  http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin
      Reusing existing connection to [localhost]:8620.
      HTTP request sent, awaiting response... 302 Found
      Location: http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin [following]
      --2014-03-18 14:11:40--  http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin
      Reusing existing connection to [localhost]:8620.
      HTTP request sent, awaiting response... 302 Found
      Location: http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin [following]
      --2014-03-18 14:11:40--  http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin
      Reusing existing connection to [localhost]:8620.
      HTTP request sent, awaiting response... 302 Found
      Location: http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin [following]
      --2014-03-18 14:11:40--  http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin
      Reusing existing connection to [localhost]:8620.
      HTTP request sent, awaiting response... 302 Found
      Location: http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin [following]
      --2014-03-18 14:11:40--  http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin
      Reusing existing connection to [localhost]:8620.
      HTTP request sent, awaiting response... 302 Found
      Location: http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin [following]
      --2014-03-18 14:11:40--  http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin
      Reusing existing connection to [localhost]:8620.
      HTTP request sent, awaiting response... 302 Found
      Location: http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin [following]
      --2014-03-18 14:11:40--  http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin
      Reusing existing connection to [localhost]:8620.
      HTTP request sent, awaiting response... 302 Found
      Location: http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin [following]
      --2014-03-18 14:11:40--  http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin
      Reusing existing connection to [localhost]:8620.
      HTTP request sent, awaiting response... 302 Found
      Location: http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin [following]
      --2014-03-18 14:11:40--  http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin
      Reusing existing connection to [localhost]:8620.
      HTTP request sent, awaiting response... 302 Found
      Location: http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin [following]
      --2014-03-18 14:11:40--  http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin
      Reusing existing connection to [localhost]:8620.
      HTTP request sent, awaiting response... 302 Found
      Location: http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin [following]
      --2014-03-18 14:11:40--  http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin
      Reusing existing connection to [localhost]:8620.
      HTTP request sent, awaiting response... 302 Found
      Location: http://localhost:8620/servicedesk/customer//user/login?destination=%2Fuser%2Flogin [following]
      20 redirections exceeded.
      

      According to our supported project key formats, changing the project key to start with a number is not supported however: https://confluence.atlassian.com/display/JIRA/Changing+the+Project+Key+Format

      This is therefore a trivial bug

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mandreacchio Michael Andreacchio
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Backbone Issue Sync