inveniosoftware / invenio-files-rest

REST API for uploading/downloading files for Invenio.
https://invenio-files-rest.readthedocs.io
MIT License
9 stars 68 forks source link

__repr__ for ObjectVersion doesn't handle unicode #178

Closed slint closed 5 years ago

slint commented 6 years ago

Probably changing ObjectVersion.__repr__ to smoething like:

return u'{}:{}:{}'.format(...)
jacquerie commented 6 years ago

Heads up that a similar error popped up in the past, so I reaffirm past me's opinion: there's probably more unicode-related bugs in Invenio's file stack, as unicode-focused tests are missing.