]> source.dussan.org Git - nextcloud-server.git/commit
Extend OCSMiddleware
authorRoeland Jago Douma <roeland@famdouma.nl>
Thu, 11 Aug 2016 07:44:12 +0000 (09:44 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Sat, 13 Aug 2016 11:36:55 +0000 (13:36 +0200)
commitaacb68c9a5458d29b74dcc7889920a4bcf11b57d
treea08c1246435aed713663ecb39a50815e37b1585a
parentf6d7a62fbdd1b032372a6fea10c18bfd9e95be74
Extend OCSMiddleware

* Always set 401 (v1.php and v2.php)
* Set proper error codes for v2.php
* Proper OCS output on unhandled exceptions
lib/private/AppFramework/Middleware/OCSMiddleware.php