-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
fix(dav): allow multiple link shares token in session #55955
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
Conversation
044fc3d to
00b3486
Compare
artonge
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
tests/lib/AppFramework/Controller/PublicShareControllerTest.php
Outdated
Show resolved
Hide resolved
Signed-off-by: skjnldsv <[email protected]>
00b3486 to
9c98b72
Compare
|
/backport to stable31 |
|
/backport to stable32 |
|
The change of the session value seems to have caused some regressions with other apps, though one could consider this internal implementation that should not be used anywhere else, we have quite a few ones that should be checked: https://github.com/search?q=org%3Anextcloud%20public_link_authenticated&type=code |
Summary
Previously: we set the session based on the password/share combo. Accessing a new one will override the previous one.
Now: we store the allowed tokens in an array.
Checklist
3. to review, feature component)stable32)