You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Split tests a bit
* Fix mis-caching of arguments containing colons
The usage of quote() is inspired by Django's own `make_template_fragment_key`.
Fixes#32
* Travis: use xenial dist
Since the default key construction uses a colon (
:
) to separate raw string values, strings arguments with colons in them can lead to mis-caching.(If an argument is user input, this could theoretically be a security issue allowing an user to access the "wrong" object from the cache.)
POC – the assertion fails since only one call was made, since the cache key is
a:b:c:bla
for both invocations.The text was updated successfully, but these errors were encountered: