Commit Graph

6654 Commits

Author SHA1 Message Date
b94b2a3723 mega: fix after lib/encoder change 2019-10-02 12:41:52 +01:00
e2914c0097 test_all: ignore some encoding tests with nextcloud integration test 2019-10-02 11:34:08 +01:00
fd51f24906 putio: use lib/encoder
And in the process
- fix a bug with + and & in file name
- fix NewObject returning directories as files
2019-10-02 11:34:08 +01:00
4615343b73 premiumizeme: use lib/encoder 2019-10-02 11:34:08 +01:00
1dc8bcd48c Remove backend dependency from fs/hash 2019-10-01 16:29:58 +01:00
def411da62 build: use the release builds not master of nfpm and github-release
Fixes #3580
2019-10-01 16:23:36 +01:00
f73dae1e77 bin/get-github-release: support tar.bz2 files 2019-10-01 16:23:36 +01:00
77a520c97c fichier: fix accessing files > 2GB on 32 bit systems - fixes #3581 2019-10-01 16:03:49 +01:00
23bf6bb4d8 test_all: mark expected failures for minio, wasabi and FTP 2019-10-01 15:40:32 +01:00
04eb96b50b fichier: fix NewObject after lib/encoder changes
This bug was introduced as part of the lib/encoder changes in
8d8fad724b.  It caused NewObject not to work for a file with
escaped characters in it.
2019-10-01 15:30:51 +01:00
b9bd15a8c9 koofr: use lib/encoder
Co-authored-by: Nick Craig-Wood <nick@craig-wood.com>
2019-09-30 22:00:25 +01:00
b581f2de26 sharefile: use lib/encoder 2019-09-30 22:00:25 +01:00
5cef5f8b49 lib/encoder: add LeftPeriod encoding 2019-09-30 22:00:25 +01:00
8d8fad724b ficher: use lib/encoder 2019-09-30 22:00:25 +01:00
4098907511 lib/encoder: add more encode symbols and split existing 2019-09-30 22:00:25 +01:00
5b8a339baf docs: Add notes on how to find out the encodings used in a backend 2019-09-30 22:00:25 +01:00
3e53376a49 build_csv: fix output of control characters 2019-09-30 22:00:25 +01:00
d122d1d191 qingstor: use lib/encoder 2019-09-30 22:00:25 +01:00
35d6ff89bf azureblob: use lib/encoder 2019-09-30 22:00:24 +01:00
53bec33027 swift: use lib/encoder 2019-09-30 22:00:24 +01:00
3304bb7a56 googlecloudstorage: use lib/encoder
Co-authored-by: Nick Craig-Wood <nick@craig-wood.com>
2019-09-30 22:00:24 +01:00
f55a99218c lib/encoder: add CrLf encoding 2019-09-30 22:00:24 +01:00
6e053ecbd0 s3: only ask for URL encoded directory listings if we need them on Ceph
This works around a bug in Ceph which doesn't encode CommonPrefixes
when using URL encoded directory listings.

See: https://tracker.ceph.com/issues/41870
2019-09-30 22:00:24 +01:00
7e738c9d71 fstest: remove WinPath as it is no longer needed 2019-09-30 22:00:24 +01:00
7689bd7e21 amazonclouddrive: use lib/encoder
Co-authored-by: Nick Craig-Wood <nick@craig-wood.com>
2019-09-30 22:00:24 +01:00
33f129fbbc s3: use lib/encoder
Co-authored-by: Nick Craig-Wood <nick@craig-wood.com>
2019-09-30 22:00:24 +01:00
a8adce9c59 s3: fix encoding for control characters - Fixes #3345 2019-09-30 22:00:24 +01:00
6ae7bd7914 local: encode invalid UTF-8 on macOS 2019-09-30 22:00:24 +01:00
32af4cd6f3 ftp: use lib/encoder 2019-09-30 22:00:24 +01:00
ced2616da5 fstests: allow Purge to fail with ErrorDirNotFound 2019-09-30 22:00:24 +01:00
b90e4a8769 sftp: fix hashes of files with backslashes 2019-09-30 22:00:24 +01:00
00b2c02bf4 pcloud: use lib/encoder
Co-authored-by: Nick Craig-Wood <nick@craig-wood.com>
2019-09-30 22:00:24 +01:00
33aea5d43f mega: use lib/encoder
Co-authored-by: Nick Craig-Wood <nick@craig-wood.com>
2019-09-30 22:00:24 +01:00
13d8b7979d b2: use lib/encoder
Co-authored-by: Nick Craig-Wood <nick@craig-wood.com>
2019-09-30 22:00:24 +01:00
57c1284df7 fstests: make integration tests to check all backends can store any file name
This tests the encoder is working properly
2019-09-30 22:00:24 +01:00
f0c2249086 encoder: add edge control characters and fix edge test generation 2019-09-30 14:05:49 +01:00
6ba08b8612 info: rewrite invalid character test and reporting 2019-09-30 14:05:49 +01:00
c8d3e57418 encodings: add . and .. to all backends, except Drive 2019-09-30 14:05:49 +01:00
d5cd026547 encoder: add option to encode . and .. names 2019-09-30 14:05:49 +01:00
6c0a749a42 crypt: remove checkValidString
Remove the usage of checkValidString in decryptSegment to allow all
paths which can be created by encryptSegment to be decryptable.
2019-09-30 14:05:49 +01:00
4b9fdb8475 opendrive: use lib/encoder 2019-09-30 14:05:49 +01:00
dac20093c5 onedrive: use lib/encoder 2019-09-30 14:05:49 +01:00
d211347d46 dropbox: use lib/encoder 2019-09-30 14:05:49 +01:00
4837bc3546 jottacloud: use lib/encoder 2019-09-30 14:05:49 +01:00
69c51325bb drive: use lib/encoder 2019-09-30 14:05:49 +01:00
05e4f10436 box: use lib/encoder 2019-09-30 14:05:49 +01:00
a98a750fc9 local: use lib/encoder 2019-09-30 14:05:49 +01:00
c09b62a088 encodings: add all known backend encodings 2019-09-30 14:05:49 +01:00
a56c9ab61d docs: add section for restricted filenames 2019-09-30 14:05:48 +01:00
97a218903c fstest: remove WinPath from fstest.Item 2019-09-30 14:05:48 +01:00