shinypb / openkeyval

OpenKeyval.org is a completely open key-value data store, exposed as a drop-dead simple web service. The goal is to make this a very easy way to persist data in web applications.
http://openkeyval.org
Other
136 stars 35 forks source link

Values consisting of only spaces are deleted #5

Closed tecywiz121 closed 13 years ago

tecywiz121 commented 13 years ago

When you create a key with any number of spaces as the value, the key is deleted.

For example, space=%20& , gets deleted. However, space=%20a%20 , works as expected.

tomash commented 13 years ago

true, confirmed.

dustball commented 13 years ago

Fixed with 429cf89a2694a1d2641a4f76365a22cc0ab216dc - it looks like the original behavior was by design, but I changed it anyway. For review by shinyplasticbag#5