vseloved / cl-redis

Redis client for Common Lisp
Other
188 stars 38 forks source link

newlines in values get corrupted #4

Closed 3b closed 13 years ago

3b commented 13 years ago
(with-connection ()
  (red-set "foo" "a
b"))

-> "OK"

(with-connection ()
  (red-get "foo"))

-> "a^M " while in redis-cli, redis> get test "~aa\bb"

tested on redis 2.2.2 and 2.2.4, x8664 linux, sbcl 1.0.47.1

vseloved commented 13 years ago

Thanks for the report! Fixed in commit 6c3173d1f05e685260e0, v.2.0.1, https://github.com/vseloved/cl-redis/zipball/latest