Skip to content
Browse files

Encode key in deletions

  • Loading branch information...
1 parent 45853e2 commit a8f77a77f0b14f38afabcd32991cc39952ee3a0e @tonistiigi tonistiigi committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 kv.js
View
2 kv.js
@@ -111,7 +111,7 @@ module.exports = function (endpoints) {
emitter.del = function (key, cb) {
emitter.emit('del', key, timestamp())
- ends.del(key, cb)
+ ends.del(encodeURIComponent(key), cb)
}
emitter.unlink = emitter.del
emitter.has = function (key, cb) {

0 comments on commit a8f77a7

Please sign in to comment.
Something went wrong with that request. Please try again.