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

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Fixed
    • 3.7
    • Component/s: None
    • None

      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

            Assignee:
            Unassigned
            Reporter:
            Sam Chang [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: