Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Encode key in deletions

  • Loading branch information...
commit a8f77a77f0b14f38afabcd32991cc39952ee3a0e 1 parent 45853e2
@tonistiigi tonistiigi authored
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) {
Please sign in to comment.
Something went wrong with that request. Please try again.