[ 
http://jira.magnolia-cms.com/browse/MAGNOLIA-2610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21181#action_21181
 ] 

Fabrizio Giustina commented on MAGNOLIA-2610:
---------------------------------------------


> Reopening this issue. We can't fix this now, as this might break existing 
> installations.

Isn't it better to do that in a major release such 4.0 so? Since 4.0 already 
breaks backward compatibility with several APIs I thinks this is really a minor 
change compared to that... making the hostname resolution work in a clear way 
is surely a need, do you think this really could be a problem?

I really would for committing this, adding a new property such as 
"magnolia.servername.unqualified" for this just adds confusion and will leave 
the old less clear way as the default... WDYT?


> always use unqualified server names in properties resolution
> ------------------------------------------------------------
>
>                 Key: MAGNOLIA-2610
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2610
>             Project: Magnolia
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 4.0 M2
>            Reporter: Fabrizio Giustina
>            Assignee: Fabrizio Giustina
>             Fix For: 4.1
>
>
> 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...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to