]> source.dussan.org Git - nextcloud-server.git/commit
Check expected type after JSON decode instead of checking what is not expected.
authorAndreas Fischer <bantu@owncloud.com>
Wed, 7 Aug 2013 15:01:14 +0000 (17:01 +0200)
committerAndreas Fischer <bantu@owncloud.com>
Thu, 8 Aug 2013 11:13:55 +0000 (13:13 +0200)
commit604ba1d0f71e81c3d10c8287df6ad22f1a94f1a7
tree0462a60c4f1c4b9e8962b6a5d8864fa93bd3bc3c
parentcc03251c8f7215de515bf57d4dcba0ffe20af617
Check expected type after JSON decode instead of checking what is not expected.

This will also allow "true" and "false" as filenames instead of only "null".
apps/files/ajax/download.php