-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10590 from owncloud/collaboration_public_key_fix
fix: properly return an error and use cache for public keys if possible
- Loading branch information
Showing
2 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Bugfix: Return an error if we can't get the keys and ensure they're cached | ||
|
||
Previously, there was an issue where we could get an error while getting the | ||
public keys from the /hosting/discovery endpoint but we're returning a wrong | ||
success value instead. This is fixed now and we're returning the error. | ||
|
||
In addition, the public keys weren't being cached, so we hit the | ||
/hosting/discovery endpoint every time we need to use the public keys. The keys | ||
are now cached so we don't need to hit the endpoint more than what we need. | ||
|
||
https://github.com/owncloud/ocis/pull/10590 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters