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

Use the new '$requestContext.baseUrl' instead of '$req.contextPath' in velocity

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Fixed
    • 3.7
    • None
    • None
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Theres a new safe requestContext available in velocity contexts to get the context path as opposed to using the req (Request) object directly.

      Usages of $req.contextPath should be replaced by $requestContext.baseUrl

              Unassigned Unassigned
              sam@atlassian.com Sam Chang [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: