From: Chris F. <cd...@fo...> - 2013-09-19 22:07:55
|
On Wed, Sep 18, 2013 at 01:25:46PM +0100, Mark Ellis wrote: > Using the glib function, with Graham's additional allowed characters, is > nice, easy, quick and safe, but as Graham said, does limit users in what > they can call new files they want to sync. I've written an alternative > which only escapes %/:*\\>< but it assumes everything is utf8 and/or > ascii. > > So my response is, would we rather have something easy with a bit less > functionality, or more functionality with built in assumptions that > might have unforeseen consequences ? If there are files that cannot be synced, just make sure there's a prominent message in the log to that effect. Maybe even an error, so that people don't mistakenly believe that their data is synced when it's not. Otherwise, I'll let you guys figure out the details. :-) - Chris |