Webfrontend #373
Upload error related to character encoding
Status: | Erledigt | Start date: | ||
---|---|---|---|---|
Priority: | Hoch | Due date: | ||
Assignee: | Alexander Blum | % Done: | 100% | |
Category: | - | Estimated time: | 1.00 h | |
Target version: | Repertoire 1) Testing phase I |
Description
A "ΓΈ" in a filename seems to raise an error on upload.
Associated revisions
now utf-8-encoded the filename in repertoire_upload.py to fix internal server error on non-ascii-filenames; fixes #373
History
#1 Updated by Thomas Mielke almost 7 years ago
- Assignee set to Thomas Mielke
#2 Updated by Thomas Mielke almost 7 years ago
- Status changed from Neu to Erledigt
- % Done changed from 0 to 100
Applied in changeset commit:collecting_society_portal_repertoire|29303b7e3b523e4dfc04f188e6529b6a5785eb36.
#3 Updated by Thomas Mielke almost 7 years ago
filename_hash = _hash_algorithm(filename).hexdigest()
resulted in UnicodeEncodeError: 'ascii' codec can't encode character u'\xf8', so I utf-8-encoded the filename.
#4 Updated by Thomas Mielke almost 7 years ago
- Assignee changed from Thomas Mielke to Alexander Blum
#5 Updated by Alexander Blum almost 5 years ago
- Target version changed from 1) Testing phase I to Repertoire 1) Testing phase I
#6 Updated by Alexander Blum almost 5 years ago
- Project changed from repertoire to collecting_society