]> git.evergreen-ils.org Git - 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:53:32 +0000 (14:53 -0500)
commit8f31413ba4334ee3f695f84a810eccbe94351f77
treeda076e97294220b7455a39b3491a37c373e62362
parent22e2c7729b6caf265b27ff14126fe5595e87cdca
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