Skip to content

Commit ca1fbcd

Browse files
author
Philipp Berger
committed
Fixes org.owasp.encoder.esapi.ESAPIEncoder.Impl that does not override
all abstract methods
1 parent 16af35c commit ca1fbcd

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

esapi/src/main/java/org/owasp/encoder/esapi/ESAPIEncoder.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
package org.owasp.encoder.esapi;
3636

3737
import java.io.IOException;
38+
import java.net.URI;
39+
3840
import org.owasp.encoder.Encode;
3941
import org.owasp.esapi.Encoder;
4042
import org.owasp.esapi.codecs.Codec;
@@ -236,5 +238,15 @@ public String encodeForBase64(byte[] bytes, boolean wrap) {
236238
public byte[] decodeFromBase64(String s) throws IOException {
237239
return _referenceEncoder.decodeFromBase64(s);
238240
}
241+
242+
/** {@inheritDoc} */
243+
public String encodeForLDAP(String input, boolean encodeWildcards) {
244+
return _referenceEncoder.encodeForLDAP(input, encodeWildcards);
245+
}
246+
247+
/** {@inheritDoc} */
248+
public String getCanonicalizedURI(URI dirtyUri) {
249+
return _referenceEncoder.getCanonicalizedURI(dirtyUri);
250+
}
239251
}
240252
}

0 commit comments

Comments
 (0)