vseloved / cl-redis

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

can't store ~ in values #3

Closed 3b closed 13 years ago

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

errors with error in COMMON-LISP:FORMAT: string ended before directive was found ~ ^ [Condition of type SB-FORMAT:FORMAT-ERROR]

it looks like tell passes the values directly as the format string to format-redis-line rather than passing it with a format string of "~a" or printing it directly

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