X-Junk-Score: 0 [] X-Cloudmark-Score: 0 [] Return-Path: Received: from iron1.its.csulb.edu ([134.139.1.30] verified) by mail.stalker.com (CommuniGate Pro SMTP 5.3.9f) with ESMTP id 61513204 for CGatePro@mail.stalker.com; Mon, 30 Aug 2010 07:39:13 -0700 Received-SPF: pass receiver=mail.stalker.com; client-ip=134.139.1.30; envelope-from=black@csulb.edu X-IronPort-AV: E=Sophos;i="4.56,292,1280732400"; d="scan'208";a="64429925" Received: from its-cgpb01.csulb.edu (HELO csulb.edu) ([134.139.16.5]) by iron1.its.csulb.edu with ESMTP; 30 Aug 2010 07:39:23 -0700 Received: by its-cgpb01.csulb.edu (CommuniGate Pro PIPE 5.3.2) with PIPE id 575310; Mon, 30 Aug 2010 07:39:23 -0700 X-CSULB-SkipMailScanner: yes X-CGP-Rule: cgp2iron Received: from [134.139.2.30] (account black@csulb.edu) by its-cgpb01.csulb.edu (CommuniGate Pro WEBUSER 5.3.2) with HTTP id 575303; Mon, 30 Aug 2010 07:39:11 -0700 From: "Matthew Black" Subject: WSSP bug - %%MAILBOXLASTNAME To: "CommuniGate Pro Discussions" , "Technical Support, Stalker Labs" X-Mailer: CommuniGate Pro WebUser v5.3.2 Date: Mon, 30 Aug 2010 07:39:11 -0700 Message-ID: Organization: California State University, Long Beach Reply-To: "Matthew Black" In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1; format="flowed" Content-Transfer-Encoding: 8bit We were having a problem with our custom Skink/WASSP WebMail skins due to a WSSP bug. I would like to describe the problem and solution. This posting is NOT meant to embarrass CommuniGate, but to help anyone who may have experienced this problem with their custom WebMail skins. In our custom version of Simplex, the skin applets incmailboxes.wssi and incmailboxes2.wssi use the text element %%MAILBOXLASTNAME for parsing nested folder names. This function removes the leading parent folder path, displaying only the proper folder name. However, the bug is that it incorrectly truncates folder names containing an ampersand (&) just prior to that character. In the base Simplex skin /opt/CommuniGate/WebSkins/Simplex, the implementers are using an undocumented text element %%HTMLLASTNAME. This text element does not truncate names with an ampersand. Here is the CGP documentation describing WSSP text elements: http://www.communigate.com/cgatepro/WSSP.html#Text While %%MAILBOXLASTNAME is mentioned, %%HTMLLASTNAME is not. When I substituted %%HTMLLASTNAME for %%MAILBOXLASTNAME in my skin applets, folder names with an ampersand were correctly displayed. I have a vague recollection of seeing this problem many years ago on the folder subscription page. CommuniGate (Stalker) has done a terrific job documenting so much about the internals of their product. That really helps those of us who do low-level work. I congratulate them for such thorough and detailed information, without which I could not of solved this problem. Cheers. matthew black e-mail postmaster california state university, long beach