mirror of
https://github.com/django/django.git
synced 2025-10-22 16:22:43 +00:00
Fixed #18754 -- cache keys created by post_process
Corrected to always generate the cache keys from file names with forward slashes, not backslashes.
This commit is contained in:
parent
4d9e4c64f1
commit
b82eb10b26
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ class CachedFilesMixin(object):
|
|||
hashed_name = force_text(saved_name.replace('\\', '/'))
|
||||
|
||||
# and then set the cache accordingly
|
||||
hashed_paths[self.cache_key(name)] = hashed_name
|
||||
hashed_paths[self.cache_key(name.replace('\\', '/'))] = hashed_name
|
||||
yield name, hashed_name, processed
|
||||
|
||||
# Finally set the cache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue