Skip to content
Snippets Groups Projects
Commit f9823b1a authored by deuce's avatar deuce
Browse files

Per FTS-5005: "Note that outbound areas for domains other than your primary

will ALWAYS have a zone extension"
parent dd307ade
Branches
Tags
No related merge requests found
......@@ -215,12 +215,12 @@ FIDO.Addr.prototype.toString = function()
{
return this.str;
};
FIDO.Addr.prototype.flo_outbound = function(default_zone)
FIDO.Addr.prototype.flo_outbound = function(default_zone, default_domain)
{
// backslash() doesn't work on an empty string
var ret = '_';
if (this.zone !== undefined && this.zone !== default_zone)
if (this.zone !== undefined && (this.domain !== default_domain || this.zone !== default_zone))
ret += format(".%03x", this.zone);
ret = backslash(ret);
if (this.point !== undefined)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment