Details
-
Improvement
-
Resolution: Fixed
-
Major
-
4.0
-
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