]> source.dussan.org Git - nextcloud-server.git/commit
filter files containing a hash in the path for ftp storages 21789/head
authorRobin Appelman <robin@icewind.nl>
Fri, 10 Jul 2020 12:18:40 +0000 (14:18 +0200)
committerRobin Appelman <robin@icewind.nl>
Fri, 10 Jul 2020 12:18:40 +0000 (14:18 +0200)
commite357d46863e02bb896185fc4604d05e51f7b4422
tree7a1478b1130692f4cada7e38d0e3110dac4424c8
parent18acb137d3b973f04ee039fd4a4e8ed1bca25127
filter files containing a hash in the path for ftp storages

the php ftp streamwrapper doesn't handle hashes correctly and will break when it tries to enter a path containing a hash.

By filtering out paths containing a hash we can at least stop the external storage from breaking completely

Signed-off-by: Robin Appelman <robin@icewind.nl>
apps/files_external/lib/Lib/Storage/FTP.php
lib/private/Files/Storage/Common.php