You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[macOS] Emojis in file name fatally interrupts complete sync #5231
If my copy/paste serves my right, the UTF-8 code of that glyph is a 4-byte code "f0 9f 8e b2"
This cannot work in any mariadb database, unless
a) local admin experiments with CHARACTER SET utf8mb4, or
b) brave local admin dares to experiment with sqlite, or
c) we do a bold step and start storing filenames as binary blobs without any enforced semantics (A filename is a byte stream from unknown source. It may trigger odd unicode-glyphs when interpreted as utf8, or worse, it may even have no meaning in unicode-land at all.)
The client considers the "400 Bad Request" that it gets from the server a error which should lead to a failed sync.
For me, the error is blacklisted and suppressed in future sync runs though (it still pops up occasionally). And changes to other files do trigger sync runs that can finish successfully. @strugee does that not work for you?
changed the title [-]Emojis in file name fatally interrupts complete sync[/-][+][macOS] Emojis in file name fatally interrupts complete sync[/+]on Apr 19, 2017
Activity
[-]Invalid characters fatally interrupts sync[/-][+]Emojis in file name fatally interrupts complete sync[/+]guruz commentedon Oct 9, 2016
At the moment this is by design.
We're thinking to make those kind of situations less fatal, but nothing is decided yet.
jnweiger commentedon Oct 20, 2016
If my copy/paste serves my right, the UTF-8 code of that glyph is a 4-byte code "f0 9f 8e b2"
This cannot work in any mariadb database, unless
a) local admin experiments with CHARACTER SET utf8mb4, or
b) brave local admin dares to experiment with sqlite, or
c) we do a bold step and start storing filenames as binary blobs without any enforced semantics (A filename is a byte stream from unknown source. It may trigger odd unicode-glyphs when interpreted as utf8, or worse, it may even have no meaning in unicode-land at all.)
ckamm commentedon Oct 28, 2016
The client considers the "400 Bad Request" that it gets from the server a error which should lead to a failed sync.
For me, the error is blacklisted and suppressed in future sync runs though (it still pops up occasionally). And changes to other files do trigger sync runs that can finish successfully. @strugee does that not work for you?
strugee commentedon Oct 28, 2016
@ckamm I can't reproduce. Creating a new file does trigger a new sync, but it gets interrupted by the bad filename before uploading the new file.
SamuAlfageme commentedon Mar 16, 2017
This should be fixed after ownCloud v10.0 make its release \o/
[-]Emojis in file name fatally interrupts complete sync[/-][+][macOS] Emojis in file name fatally interrupts complete sync[/+]guruz commentedon Apr 19, 2017
It's not fixed by server only unfortunately, there's also an issue with UTF-8-MAC and iconv..
#5661 (comment)
guruz commentedon Apr 19, 2017
Let's track this in #5661