Changes between Initial Version and Version 1 of Ticket #18404, comment 6
- Timestamp:
- Nov 5, 2012, 6:22:40 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #18404, comment 6
initial v1 18 18 }}} 19 19 20 So this is definitly a bug in FileSystemStorage.20 So this is definitly a bug. Most likely FileSystemStorage should accept only unicode locations and AppStaticStorage should pass a unicode path as done in the patch. It would also be good is `path` didn't confuse `UnicodeDecodeError` with `ValueError` raised by `safe_join`. Maybe `safe_join` could raise a more meaningful subclass of `ValueError` instead? 21 21 22 22 Note that on master (1.5) this will fail earlier (i.e. on every `os.path.join`), because of `unicode_literals` switch.