Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle unicode at the caching layer more elegantly
This patchset resolves an issue where in some cases unicode would cause the cache key generator to raise a UnicodeEncodeError due to the name/value being outside of the standard ascii character set. Included is a fix to the cache backend debug code to utilize repr for passing the keys/values to the logger. Tests in test_backend provided by chenxiao <chenxiao@cn.ibm.com> Closes-bug: 1237892 Change-Id: Ic99503987851128cd41d83ad1ea50dc4a132fbd3
- Loading branch information
Morgan Fainberg
committed
Oct 14, 2013
1 parent
c14ebd6
commit a0ae37e
Showing
3 changed files
with
98 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters