src/Server/js/caliban.js
/**
             * Whether the specified domain name and path belong to any of the alias domains (eg. set via setDomains).
             *
             * Note: this function is used to determine whether a click on a URL will be considered an "Outlink".
             *
             * @param host
             * @returns {boolean}
             */
Whether the specified domain name and path belong to any of the alias domains .
Note: this function is used to determine whether a click on a URL will be considered an "Outlink".

@param host
@returns {boolean}
Whether the specified domain name and path belong to any of the alias domains . Note : this function is used to determine whether a click on a URL will be considered an " Outlink " . @param host @returns { boolean }
function isInternalDomain(host) {
                var i, aliasHost;
                for (i = 0; i < configHostsAlias.length; i++) {
                    aliasHost = domainFixup(configHostsAlias[i]);
                    if (isSameHost(host, aliasHost)) {
                        return true;
                    }
                }
                return false;
            }
function isInternalDomain ( host ) { var i , aliasHost ; for ( i = 0 ; i < configHostsAlias . length ; i ++ ) { aliasHost = domainFixup ( configHostsAlias [ i ] ) ; if ( isSameHost ( host , aliasHost ) ) { return true ; } } return false ; }
Whether the specified domain name and path belong to any of the alias domains (eg.
Whether the specified domain name and path belong to any of the alias domains ( eg .