]> git.evergreen-ils.org Git - working/OpenSRF.git/commit
LP#1652382: normalization of memcache keys in C code
authorMike Rylander <mrylander@gmail.com>
Fri, 27 Jan 2017 20:25:05 +0000 (15:25 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 16 Feb 2017 19:49:26 +0000 (14:49 -0500)
commitdbc54c646055d8840140eca7d2a1fa0760537688
treeea14864e99b7ac1251411992690aeb49aa9a71f6
parente71d790a92f497e5bc983c4ba970168129fbcdd3
LP#1652382: normalization of memcache keys in C code

Memcache does not allow spaces in keys, so here we will actively strip them
from any key we get from a caller.  Some callers are not very proactive about
sending clean keys, and this patch prevents issues that can poison C-based
OpenSRF service backends.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
src/libopensrf/osrf_cache.c