fusioncop / owasp-esapi-java

Automatically exported from code.google.com/p/owasp-esapi-java
Other
0 stars 0 forks source link

EncoderConstants.LOWERS consists of a set of EncoderConstants.CHAR_PASSWORD_SPECIALS. #242

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Looks like there might be a copy paste error in EncoderConstants.java:

public final static char[] CHAR_LOWERS = { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 
'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 
'x', 'y', 'z' };
    public final static Set<Character> LOWERS;
    static {
        LOWERS = CollectionsUtil.arrayToSet(CHAR_PASSWORD_SPECIALS);
    }

LOWERS consists of a set of CHAR_PASSWORD_SPECIALS.

Original issue reported on code.google.com by luke.bid...@gmail.com on 11 Aug 2011 at 1:24

GoogleCodeExporter commented 9 years ago
This one too?

public final static char[] CHAR_PASSWORD_LOWERS = { 'a', 'b', 'c', 'd', 'e', 
'f', 'g', 'h', 'j', 'k', 'm', 'n', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 
'y', 'z' };
    public final static Set<Character> PASSWORD_LOWERS;
    static {
        PASSWORD_LOWERS = CollectionsUtil.arrayToSet(CHAR_ALPHANUMERICS);
    }

Original comment by luke.bid...@gmail.com on 11 Aug 2011 at 1:29