-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
accesing /ocs/v1.php/apps/files_sharing/api/v1/shares with invalid credentials gives an empty reply #34626
Comments
GitMate.io thinks the contributor most likely able to help you is @ownclouders. Possibly related issues are #27400 (OCS Share API), #17166 (OCS Share API Date improvements), #21798 (OCS Sharing API v2), #18117 ([OCS-API] get sharing recipients), and #18530 (apps/files_sharing/api/externalShares 404 (Not Found)). |
Note: this issue is only seen in core |
@DeepDiver1975 you have merged #34622 closing this issue? |
Tested with master
|
Steps to reproduce
curl -u admin:wrong http://localhost/owncloud-core/ocs/v2.php/apps/files_sharing/api/v1/shares
-vmaybe related to #34566
Expected behaviour
HTTP error 401
xml response with error code
Actual behaviour
HTTP code 200
empty content
TypeError message shown in the logs
Server configuration
Operating system:
Ubuntu 18.04
Web server:
Apache2
Database:
Sqlite
PHP version:
7.2
ownCloud version: (see ownCloud admin page)
11.0.0
Updated from an older ownCloud or fresh install:
fresh
Where did you install ownCloud from:
git
Logs
ownCloud log (data/owncloud.log)
The text was updated successfully, but these errors were encountered: