Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-19771

XWikiContext#getURL should be in sync with the context request

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 14.4
    • Old Core
    • None
    • Unknown

    Description

      Right now the context request and the context URL are two totally different values, which does not make much sense and can be very error-prone.

      It would probably make much more sense to make XWikiContext#getURL actually get the URL from the request (and probably make setURL update the request for retro compatibility reasons).

      Attachments

        Activity

          People

            Unassigned Unassigned
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: