Make all links absolute to JIRA root

XMLWordPrintable

    • 2

      Non-absolute URLs don't work on Opera. This is a combination of an Orion bug, and Opera's strict handling of the servlet spec.

      Fowarded email containing more info:
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      I've got an answer from Opera which indicates that you should be home free if you correct your
      Content-Location Header. It is actually Mozilla and IE that is wrong

      See the message below.

      /max

      Why is it that on

      > http://opensource.atlassian.com/projects/hibernate/secure/Dashboard.jspa
      >
      > the link "ALL" has a relative link to "IssueNavigator.jspa" in the source, but Opera 7 resolves it to:
      >
      > http://opensource.atlassian.com/secure/views/IssueNavigator.jspa?reset=true&mode=hide&pid=10000
      >
      > Which is of course wrong. Opera 6 doesn't do this.
      >
      > It should be
      >
      > http://opensource.atlassian.com/projects/hibernate/secure/IssueNavigator?reset=true&mode=hide&pid=10000
      >
      > Mozilla and IE resovles it correctly - so what's wrong here ?
      >
      > The folks behind JIRA has been informed about this and are probably going to change their JIRA impl. to handle this for Opera 7 clients, but
      > isn't this a bug in Opera that needs fixing preetty damn soon ?

      They are sending a Content-Location header

      HTTP/1.1 200 OK
      Date: Tue, 06 May 2003 16:11:22 GMT
      Server: Orion/1.6.0
      Set-Cookie: JSESSIONID=**********; Path=/
      Connection: Keep-Alive
      Keep-Alive: timeout=15, max=100
      Content-Type: text/html; charset=UTF-8
      Cache-Control: no-cache, no-store, must-revalidate
      Pragma: no-cache
      Expires: Thu, 01 Jan 1970 00:00:00 GMT
      Content-Location: /secure/views/dashboard.jsp
      Transfer-Encoding: chunked

      which imply that the Base URL is based on

      http://opensource.atlassian.com/secure/views/dashboard.jsp

      not
      http://opensource.atlassian.com/projects/hibernate/secure/Dashboard.jspa

      Which is the behaviour described in RFC 2616 sec 14.14 :

      "The value of Content-Location also defines the base URI for the
      entity."

      Opera 7 uses this value if it is present and no Base URL declaration
      is made in the document.

      IOW: This is not a bug, it is a feature.

      BTW: What is so sensitive about that page that they have to use a
      "no-store" Cache directive to force the client to use RAM cache?
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      Orion Bug:
      http://bugs.orionserver.com/issue/view.jsp?id=1083

      This should be resolved by adding a base URL tag, or making all links absolute.

            Assignee:
            dave (Inactive)
            Reporter:
            Scott Farquhar
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: