--- dao/DaoMqPump2/DaoCommon/Salt2Helper.cs 2014/05/16 21:26:01 2170 +++ dao/DaoMqPump2/DaoCommon/Salt2Helper.cs 2014/05/17 10:53:58 2172 @@ -23,12 +23,21 @@ header.modtager = salt2String.Substring(5, 5); header.transaktionForkortelse = salt2String.Substring(55, 4); + + header.transaktionForkortelse = header.transaktionForkortelse.Trim(); + return header; } public static bool validateSalt2Header(string salt2String) { + if (salt2String.StartsWith("?")) + { + //addLogEntry("Illegal start character - discarding"); + return false; + } + if (salt2String.Length < 66) { //addLogEntry("Transaction too short - discarding");