From 3583e3497891c3e526a27e6bd6da7fba7ef2c22a Mon Sep 17 00:00:00 2001 From: tosmers Date: Wed, 10 May 2017 18:09:42 +0000 Subject: [PATCH] [TRUNK][UPDATE] - repaires ng-parties regex conditions for parameter 'name' git-svn-id: https://svn.libreccm.org/ccm/trunk@4727 8810af33-2d31-482b-a856-94f89814c4df --- .../com/arsdigita/portation/modules/core/security/Party.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ccm-core/src/com/arsdigita/portation/modules/core/security/Party.java b/ccm-core/src/com/arsdigita/portation/modules/core/security/Party.java index 111f5ce37..bac32d7d0 100644 --- a/ccm-core/src/com/arsdigita/portation/modules/core/security/Party.java +++ b/ccm-core/src/com/arsdigita/portation/modules/core/security/Party.java @@ -44,7 +44,10 @@ public class Party { this.partyId = trunkParty.getID().longValue(); this.name = trunkParty.getName(). replace(" ", "_"). - replace(".", "_"); + replace(".", "_"). + replace("/", "\\"). + replace("(", "_"). + replace(")", "_"); this.roleMemberships = new HashSet<>();