Uploaded image for project: '{RETIRED} XWiki Enterprise'
  1. {RETIRED} XWiki Enterprise
  2. XE-991

Sometimes an IP address is displayed instead of the hostname in the emails sent by the Share Page feature

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2 M2
    • Fix Version/s: 3.2 M3
    • Labels:
      None
    • Similar issues:

      Description

      ServletRequest.getLocalName usually resolves correctly to the server name, but the specification states that the returned value is the "host name of the Internet Protocol (IP) interface on which the request was received". The correct method to use is ServletRequest.getServerName, which always corresponds to the requested host.

        Attachments

          Activity

            People

            Assignee:
            sdumitriu Sergiu Dumitriu
            Reporter:
            sdumitriu Sergiu Dumitriu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: