- From: Arun Ranganathan <notifications@github.com>
- Date: Fri, 31 Jul 2015 08:49:19 -0700
- To: w3c/FileAPI <FileAPI@noreply.github.com>
Received on Friday, 31 July 2015 15:50:22 UTC
>>How would you then transmit that filename? Everything part of File needs to be serialized. DOMString cannot be serialized. Well, WebIDL does include an algorithm for converting a DOMString to a sequence of Unicode scalar values and is part of the DOMString definition, so we *can* serialize them after doing something like that. But if this bug is to replace [EnsureUTF16] with USVString as a type instead of DOMString, then maybe that's ok especially since it's in Gecko. Separately, the current check for illegal chars in fileName may be inadequate. Right now, we only replace "/" with ":" which may be wrong on some OS's. I wonder if we should do a more exhaustive check, sort of like this (scroll down): https://www.dropbox.com/help/145 and in general include more for fileName's definition. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/FileAPI/issues/9#issuecomment-126730119
Received on Friday, 31 July 2015 15:50:22 UTC