]> source.dussan.org Git - nextcloud-server.git/commit
Urlencode file name before passing it to cURL
authorTony Zelenoff <antonz@parallels.com>
Thu, 9 Oct 2014 13:15:12 +0000 (17:15 +0400)
committerTony Zelenoff <antonz@parallels.com>
Thu, 9 Oct 2014 13:15:12 +0000 (17:15 +0400)
commit2d03019c91ab8d07dfbfb1e54db86d0c4978ab9a
treea4a948a9c3221a542725b18b021a03690d605429
parentcc717c27d6cbfadfff4dc6cdfe110baccd097c84
Urlencode file name before passing it to cURL

Large file helper use cURL to determine file sizes. Thus filenames must be
urlencoded in case special symbols like '#' can cause BadRequest errors.

Signed-off-by: Tony Zelenoff <antonz@parallels.com>
lib/private/largefilehelper.php