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

Incorrect port sometimes in external URL generated from a scheduler job

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 10.7-rc-1
    • 10.6.1
    • Old Core
    • None
    • Unit
    • Unknown

    Description

      Same kind of issue than XWIKI-13435 but for the port.

      For some weird reason XWiki#getServerURL get the port from the context URL even when the host comes from the wiki descriptor. When we start rely on the descriptor we should go full descriptor and not mix with something which potentially have nothing to do in a proxied environment. If we really need a port in the wiki descriptor we just need to add it (hard to make `server` field support both for retro compatibility reasons).

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: