GitHub PushEvent at 2014-02-04 23:54:43
Repository: archivematica
Actor: qubot
Payload: {"shas":[["0ac5811bf0544e9ddd7ce9f4da1ec6afb0eee27b","6ed20103e96b5a7be245b286647c926ed16c329e@artefactual.com","Communicate paths to/from servers as base64\n\nIt's possible for users to attempt to begin transfers using files whose\nnames contain non-Unicode, non-ASCII characters. Since communication\nto/from the storage service and between the dashboard and JS frontend\noccurs via JSON responses, which mandates Unicode, it's necessary to\nfind an alternate way to represent paths.\n\nThis moves to communicate paths back and forth in base64 encoding, and\nvendors a JS base64 library to let the UI decode and encode paths as\nappropriate.\n\nrefs #6067","Misty De Meo",true],["efa3b3df26f481e481e5aeaaf1345dc3408253a7","6ed20103e96b5a7be245b286647c926ed16c329e@artefactual.com","Treat paths as binary blobs, not unicode strings\n\nSince paths can contain any arbitrary characters, and are essentially\ntreated on-disk as binary, Archivematica needs to treat these as\nbinary strings that could contain any arbitrary characters.\n\nThis alters several database fields to be binary types, alters several\nbits of intenral code so that paths are always treated as str types\ninstead of unicode strings, and fixes up a few existing bits of string\ndecoding to ensure they can cope with non-unicode strings (at the cost\nof potentially creating mojibake).\n\nrefs #6067","Misty De Meo",true],["532a9872a02f0063673219b2e0dad8ef5e0027c3","6ed20103e96b5a7be245b286647c926ed16c329e@artefactual.com","clamscan script: adjust string escaping","Misty De Meo",true],["bae51ca2157417aafb38ab77d423a75bcee7618d","6ed20103e96b5a7be245b286647c926ed16c329e@artefactual.com","Use v2 storage service API","Misty De Meo",true]],"size":4,"ref":"refs/heads/dev/issue-6067-unicode","head":"bae51ca2157417aafb38ab77d423a75bcee7618d"}