From f9823b1a1b0598ca11697f396adaa5d01257339f Mon Sep 17 00:00:00 2001 From: deuce <> Date: Fri, 15 Jan 2016 04:04:12 +0000 Subject: [PATCH] Per FTS-5005: "Note that outbound areas for domains other than your primary will ALWAYS have a zone extension" --- exec/load/fido.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exec/load/fido.js b/exec/load/fido.js index 1882dc1a2a..c92f70b7f5 100644 --- a/exec/load/fido.js +++ b/exec/load/fido.js @@ -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) -- GitLab