nextcloud/lib/public/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
..
db Fix missing @since tags in OCP 2015-06-19 10:51:36 +02:00
http Check if response could get generated 2015-07-02 11:42:51 +02:00
utility Add @since tags to all methods in public namespace 2015-04-16 17:00:08 +02:00
apicontroller.php fix wrong variable names in PHPDoc 2015-04-18 14:31:28 +02:00
app.php Add @since tags to all methods in public namespace 2015-04-16 17:00:08 +02:00
controller.php Add version to @deprecated tags 2015-04-19 01:04:59 +02:00
http.php Add @since tags to all methods in public namespace 2015-04-16 17:00:08 +02:00
iapi.php update license headers and authors 2015-06-25 14:13:49 +02:00
iappcontainer.php Add version to @deprecated tags 2015-04-19 01:04:59 +02:00
middleware.php Add @since tags to all methods in public namespace 2015-04-16 17:00:08 +02:00
ocscontroller.php fix wrong variable names in PHPDoc 2015-04-18 14:31:28 +02:00
queryexception.php Add @since tags to all methods in public namespace 2015-04-16 17:00:08 +02:00