Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-2610

ability to use unqualified server names in properties resolution

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 4.3
    • 4.0
    • core
    • None

    Description

      The server name resolved in MgnlServletContextListener.initServername() is usually a not qualified hostname ("hostname" and not "hostname.domain.com"), but sometimes seems that InetAddress.getLocalHost().getHostName() can also return a fully qualified hostname with the domain (not really sure about the logic behind it, I've seen different behaviour on similarly configured linux machines).

      I think it will be better to always force an unqualified hostname, so that the behavior is more predictable...

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              fgiust Fabrizio Giustina
              fgiust Fabrizio Giustina
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD