You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2019/04/08 12:12:15 UTC

[syncope] branch 2_0_X updated: [SYNCOPE-1457] Missing £

This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch 2_0_X
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/2_0_X by this push:
     new f9734e3  [SYNCOPE-1457] Missing £
f9734e3 is described below

commit f9734e3bde37456ebdf66be328d7bfa1eef34da6
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Mon Apr 8 14:11:34 2019 +0200

    [SYNCOPE-1457] Missing £
---
 .../java/org/apache/syncope/core/spring/policy/PolicyPattern.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/core/spring/src/main/java/org/apache/syncope/core/spring/policy/PolicyPattern.java b/core/spring/src/main/java/org/apache/syncope/core/spring/policy/PolicyPattern.java
index 84bac4e..08d6c3e 100644
--- a/core/spring/src/main/java/org/apache/syncope/core/spring/policy/PolicyPattern.java
+++ b/core/spring/src/main/java/org/apache/syncope/core/spring/policy/PolicyPattern.java
@@ -39,13 +39,13 @@ public final class PolicyPattern {
     public static final Pattern LAST_ALPHANUMERIC = Pattern.compile(".*\\w");
 
     public static final Pattern NON_ALPHANUMERIC =
-            Pattern.compile(".*[~!@#$%^&*_\\-`(){}\\[\\]:;\"'<>,.?/\\=\\+\\\\\\|].*");
+            Pattern.compile(".*[~!@#£$%^&*_\\-`(){}\\[\\]:;\"'<>,.?/\\=\\+\\\\\\|].*");
 
     public static final Pattern FIRST_NON_ALPHANUMERIC =
-            Pattern.compile("[~!@#$%^&*_\\-`(){}\\[\\]:;\"'<>,.?/\\=\\+\\\\\\|].*");
+            Pattern.compile("[~!@#£$%^&*_\\-`(){}\\[\\]:;\"'<>,.?/\\=\\+\\\\\\|].*");
 
     public static final Pattern LAST_NON_ALPHANUMERIC =
-            Pattern.compile(".*[~!@#$%^&*_\\-`(){}\\[\\]:;\"'<>,.?/\\=\\+\\\\\\|]");
+            Pattern.compile(".*[~!@#£$%^&*_\\-`(){}\\[\\]:;\"'<>,.?/\\=\\+\\\\\\|]");
 
     public static final char[] NON_ALPHANUMERIC_CHARS_FOR_PASSWORD_VALUES = {
         '!', '£', '%', '&', '(', ')', '?', '#', '$' };