-
Notifications
You must be signed in to change notification settings - Fork 113
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
remove base64 encoding of ids #2542
Conversation
e6253f4
to
06c0c28
Compare
Note: core PR owncloud/core#39751 added the code to find the personal space id of a user. It reverse-engineers the base64-encoding and expects the ":" between parts. I expect that we need to adjust that code, put it in a branch and PR to core master, then point to that from this PR so that tests will run better. |
@phil-davis Can we create a branch in oc10 where we change the discovery? We need to know that my changes here do not break stuff. |
owncloud/core#39793 core branch Put that in |
@phil-davis I broke some move tests. Is that a problem with the expected failures or are they real failures? |
Those are core test scenario changes that are in core master and need a commit id bump, and the line numbers... sorting out. I will see if @kiranparajuli589 has time to do that today, and then you will be able to rebase to fix that. |
@phil-davis @micbar #2545 is created to bump the latest commit id from Should we be using the commit id from the branch |
hmm...some difference in |
no, just do an ordinary commit id bump in a separate PR. Then this PR can be rebased. |
PR #2545 has been merged and bumped the core commit id to the current tip of master. I rebased core PR owncloud/core#39793 and it is now core cranch @micbar you can rebase this PR, and put the above in |
* remove base64 encoding of ids * use resourceid wrapper * Update changelog/unreleased/remove-base64-encoding-of-ids.md Co-authored-by: Jörn Friedrich Dreyer <[email protected]>
This reverts commit cf7440b.
Change: Unify file IDs
We changed the file IDs to be consistent across all our APIs (WebDAV, LibreGraph, OCS). We removed the base64 encoding. Now they are formatted like
<storageID>!<opaqueID>
. They are using a reserved character!
as a URL safe separator.Related Issue
ocis PR owncloud/ocis#3185
Examples