We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The expirationDateTime can be set to the past when creating a link
expirationDateTime
1.send request to the createLink endpoint with {"type":"view","expirationDateTime":"2023-12-04T00:00:00+00:00"}
{"type":"view","expirationDateTime":"2023-12-04T00:00:00+00:00"}
400 response with an error message as happens for the invite endpoint
invite
{"expirationDateTime":"2023-12-04T00:00:00Z","id":"eaaIVySoBAKjDPd","link":{"@libre.graph.displayName":"","@libre.graph.quickLink":false,"preventsDownload":false,"type":"view","webUrl":"https://ocis.owncloud.test/s/xoAIjqalGuNLTQS"}}
The text was updated successfully, but these errors were encountered:
linked to #6993
Sorry, something went wrong.
Should be fixed now. Can you test again?
I've unskipped a test in the ocis-php-sdk that tries this and it works owncloud/ocis-php-sdk#126
No branches or pull requests
Describe the bug
The
expirationDateTime
can be set to the past when creating a linkSteps to reproduce
1.send request to the createLink endpoint with
{"type":"view","expirationDateTime":"2023-12-04T00:00:00+00:00"}
Expected behavior
400 response with an error message as happens for the
invite
endpointActual behavior
{"expirationDateTime":"2023-12-04T00:00:00Z","id":"eaaIVySoBAKjDPd","link":{"@libre.graph.displayName":"","@libre.graph.quickLink":false,"preventsDownload":false,"type":"view","webUrl":"https://ocis.owncloud.test/s/xoAIjqalGuNLTQS"}}
The text was updated successfully, but these errors were encountered: