mandarons / icloud-drive-docker

Dockerized iCloud Client - make a local copy of your iCloud documents and photos, and keep it automatically up-to-date.
BSD 3-Clause "New" or "Revised" License
969 stars 46 forks source link

fixes error with unpacking packages #145

Closed tymmej closed 9 months ago

tymmej commented 10 months ago

sometimes first layer of package did have different normalization that item.name and script couldn't open it

also normalize content of archive after unpacking, same issue as in pull request #144

mandarons commented 9 months ago

@tymmej Can you please provide a sample package file which needs to be normalized? I want to add it to test data and write a test with it.

tymmej commented 9 months ago

Inside archive test.tar.gz is package "Fotoksiążka Wzór.xmcf" which causes problem.

If you want minimal example I believe any package with non-ASCII characters in filename causes problem - https://gist.github.com/JamesChevalier/8448512?permalink_comment_id=2846892

Some non-ASCII characters to test: ĄąÓóŻż (polish letters)