View | Details | Raw Unified | Return to bug 40554
Collapse All | Expand All

(-)a/Koha/Cache.pm (-3 lines)
Lines 160-167 instance of C<Cache::*> and follow the same interface as L<Cache::Memcache>. Link Here
160
sub set_in_cache {
160
sub set_in_cache {
161
    my ( $self, $key, $value, $options ) = @_;
161
    my ( $self, $key, $value, $options ) = @_;
162
162
163
    my $unsafe = $options->{unsafe} || 0;
164
165
    # the key mustn't contain whitespace (or control characters) for memcache
163
    # the key mustn't contain whitespace (or control characters) for memcache
166
    # but shouldn't be any harm in applying it globally.
164
    # but shouldn't be any harm in applying it globally.
167
    $key =~ s/[\x00-\x20]/_/g;
165
    $key =~ s/[\x00-\x20]/_/g;
168
- 

Return to bug 40554