nextcloud/tests/lib/appframework
Lukas Reschke 62e3de1bdb Check if response could get generated
`json_encode` fails hard on PHP >= 5.5 if a non UTF-8 value is specified by returning false. Older PHP versions just nullify the value which makes it at least somewhat usable.

This leads to very confusing errors which are very hard to debug since developers are usually not aware of this. In this case I'd consider throwing a fatal exception – since it arguably is an error situation – is a fair solution since this makes developers and administrators aware of any occurence of the problem so that these bugs can get fixed.

Fixes https://github.com/owncloud/core/issues/17265
2015-07-02 11:42:51 +02:00
..
controller Merge pull request #13989 from owncloud/enhancment/security/11857 2015-02-18 10:27:29 -05:00
db If the execute method on the mapper receives an assoc array, it binds by value instead of index 2015-03-19 17:08:46 +01:00
dependencyinjection Refactor OC_Request into TrustedDomainHelper and IRequest 2015-02-16 22:13:00 +01:00
http Check if response could get generated 2015-07-02 11:42:51 +02:00
middleware fix #16713 2015-06-03 12:56:50 +02:00
routing Merge pull request #12294 from owncloud/route-postfix 2014-11-24 16:32:54 +01:00
utility AppFramework annotation whitespace unit test 2015-06-21 20:26:57 +01:00
AppTest.php AppFramework StreamResponse 2015-02-27 15:42:33 +01:00