Closed oparoz closed 8 years ago
You need to pass the header OCS-APIREQUEST: true
I'll make sure this is reflected in the docs.
Docs merged.
There is still a problem as this deviates from the standard: https://www.freedesktop.org/wiki/Specifications/open-collaboration-services-1.7/
Which means that any client following the standard will stop working with these changes.
@karlitschek , how do we fix this?
The standard as described at https://www.freedesktop.org/wiki/Specifications/open-collaboration-services-1.7/ is anyways not properly implemented in Nextcloud nor ownCloud. The specification at https://github.com/cernbox/OpenCloudMeshSpecification is more up-to-date and mentions this fact.
Also, all clients do properly send that header. Removing that requirement introduces security holes 🙈
Perfect, thank you.