Skip to content

Commit

Permalink
Fixes org.owasp.encoder.esapi.ESAPIEncoder.Impl that does not override
Browse files Browse the repository at this point in the history
all abstract methods
  • Loading branch information
philippberger committed Oct 13, 2020
1 parent 16af35c commit ca1fbcd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions esapi/src/main/java/org/owasp/encoder/esapi/ESAPIEncoder.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
package org.owasp.encoder.esapi;

import java.io.IOException;
import java.net.URI;

import org.owasp.encoder.Encode;
import org.owasp.esapi.Encoder;
import org.owasp.esapi.codecs.Codec;
Expand Down Expand Up @@ -236,5 +238,15 @@ public String encodeForBase64(byte[] bytes, boolean wrap) {
public byte[] decodeFromBase64(String s) throws IOException {
return _referenceEncoder.decodeFromBase64(s);
}

/** {@inheritDoc} */
public String encodeForLDAP(String input, boolean encodeWildcards) {
return _referenceEncoder.encodeForLDAP(input, encodeWildcards);
}

/** {@inheritDoc} */
public String getCanonicalizedURI(URI dirtyUri) {
return _referenceEncoder.getCanonicalizedURI(dirtyUri);
}
}
}

0 comments on commit ca1fbcd

Please sign in to comment.