nextcloud/lib/public/AppFramework
Thomas Citharel 1c0342af58 Fix reading blob data as resource
PostgreSQL returns data as resource when using IQueryBuilder::PARAM_LOB
(which is used for QBMapper).

Previously we just converted this resource using settype, which produced
things like "Resource id #14" instead of the actual resource data.

Now we read the stream correctly if the returned data is a resource

See context at #22472

Fixes #22439

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-07-25 16:03:19 +00:00
..
Bootstrap Fix psalm warning related to registerEventListener 2022-01-29 12:44:02 +01:00
Db Fix reading blob data as resource 2022-07-25 16:03:19 +00:00
Http Improve caching policy 2022-02-18 14:28:24 +01:00
OCS Update php licenses 2021-06-04 22:02:41 +02:00
Services Update php licenses 2021-06-04 22:02:41 +02:00
Utility Phase out the controller reflector 2021-06-17 18:21:19 +02:00
ApiController.php Update php licenses 2021-06-04 22:02:41 +02:00
App.php Update php licenses 2021-06-04 22:02:41 +02:00
AuthPublicShareController.php Update php licenses 2021-06-04 22:02:41 +02:00
Controller.php Update php licenses 2021-06-04 22:02:41 +02:00
Http.php Update php licenses 2021-06-04 22:02:41 +02:00
IAppContainer.php Update php licenses 2021-06-04 22:02:41 +02:00
Middleware.php Update php licenses 2021-06-04 22:02:41 +02:00
OCSController.php Update php licenses 2021-06-04 22:02:41 +02:00
PublicShareController.php Update php licenses 2021-06-04 22:02:41 +02:00
QueryException.php Update php licenses 2021-06-04 22:02:41 +02:00