Logged In: YES

There is no bug.

'SERVER_NAME' is the cannonical name for the webserver.
This is the name that the administrator has defined, and
thus by using this definition we are giving the
administrator default power to determine the link
composition. Additionally, if SSL is used the server name
in the URL needs to match the name in the certificate --
which if configured properly will be 'SERVER_NAME'.

If we set it to 'HTTP_HOST', we are giving power to the
client which we should not do by default. This can be
overridden in the config settings (currently in index.php).

But no matter which of these constants we use all links
should resolve just fine. If there is a relative link --
'HTTP_HOST' will be used be used because it is the client
browser that composes the full URL.