Propagator: Keep a meaningfull error with old server and invalid file names
authorOlivier Goffart <ogoffart@woboq.com>
Wed, 28 Oct 2015 12:25:49 +0000 (13:25 +0100)
committerOlivier Goffart <ogoffart@woboq.com>
Thu, 29 Oct 2015 11:44:08 +0000 (12:44 +0100)
commit0fde7f0e6bde80d5d57902f4bacd54ae01e3338f
tree111c52aa808be8d3b15b548fe16771f49426607c
parentd9f8edd2590a7347510970c9d68099dff8d73723
Propagator: Keep a meaningfull error with old server and invalid file names

We changed the discovery code not to ignore files whose filename contains
charachter invalid on windows. (Because newer versions of the server
supports them)
Servers older than 8.1 will just say "Bad Request" as an error and it's a
regression against previous client version. So keep nice error even with
older server.

Relates to #3736
src/libsync/propagateupload.cpp