]> source.dussan.org Git - nextcloud-server.git/commit
FIX: Download of files named "true" or "false" impossible
authorRoland Hager <roland.hager@tu-berlin.de>
Fri, 7 Jun 2013 11:44:17 +0000 (13:44 +0200)
committerRoland Hager <roland.hager@tu-berlin.de>
Wed, 12 Jun 2013 15:25:21 +0000 (17:25 +0200)
commitd2d71c8797f7e7b51e55bec4217738faaf6a08ca
treef8f41ea59f4f2819b16fa563ebc3aae4f8f2e9e5
parenta39ecd5ea977f18fac9c7c3683a7988434f6b95f
FIX: Download of files named "true" or "false" impossible

It was not possible to download a file called "true" or "false" (caseinsensitive) when clicking the link "download" due to the result of json_decode().
Both cases are now implicitly checked.

Hotfix provided by Herbert Pophal
apps/files/ajax/download.php