TremoloSecurity / MyVirtualDirectory

Open Source LDAP Virtual Directory
Apache License 2.0
45 stars 18 forks source link

PatternSyntaxException #67

Open KarlKnapp opened 5 years ago

KarlKnapp commented 5 years ago
 [2019-07-26 10:48:34,860][pool-4-thread-6] ERROR JdbcEntrySet - Error processing search
java.util.regex.PatternSyntaxException: Dangling meta character '+' near index 4
(?i:+49.*1.*2.*3.*4.*5.*6.*7.*8.*9)
    ^
                at java.util.regex.Pattern.error(Unknown Source) ~[?:1.8.0_211]
                at java.util.regex.Pattern.sequence(Unknown Source) ~[?:1.8.0_211]
                at java.util.regex.Pattern.expr(Unknown Source) ~[?:1.8.0_211]
                at java.util.regex.Pattern.group0(Unknown Source) ~[?:1.8.0_211]
                at java.util.regex.Pattern.sequence(Unknown Source) ~[?:1.8.0_211]
                at java.util.regex.Pattern.expr(Unknown Source) ~[?:1.8.0_211]
                at java.util.regex.Pattern.compile(Unknown Source) ~[?:1.8.0_211]
                at java.util.regex.Pattern.(Unknown Source) ~[?:1.8.0_211]
                at java.util.regex.Pattern.compile(Unknown Source) ~[?:1.8.0_211]
                at java.util.regex.Pattern.matches(Unknown Source) ~[?:1.8.0_211]
                at java.lang.String.matches(Unknown Source) ~[?:1.8.0_211]
                at net.sourceforge.myvd.types.FilterNode.checkEntry(FilterNode.java:232) ~[myvd-server-1.0.6.jar:?]
mlbiam commented 5 years ago

what input generates this exception?

KarlKnapp commented 5 years ago

a phone number with leading + sign