Skip to content
This repository was archived by the owner on Feb 8, 2019. It is now read-only.

Commit 0475f28

Browse files
committed
fix double encoding bug
1 parent 7ab9e94 commit 0475f28

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/com/danga/MemCached/MemCachedClient.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -793,14 +793,6 @@ public long getCounter( String key, Integer hashCode ) {
793793
return -1;
794794
}
795795

796-
try {
797-
key = sanitizeKey( key );
798-
}
799-
catch ( UnsupportedEncodingException e ) {
800-
log.error( "failed to sanitize your key!", e );
801-
return -1;
802-
}
803-
804796
long counter = -1;
805797
try {
806798
counter = Long.parseLong( (String)get( key, hashCode, true ) );

0 commit comments

Comments
 (0)