-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
fix(dav): ajax request check on public remote endpoints #42853
Conversation
/skjnldsv-backport to stable28 |
7a93dc8
to
f0648d0
Compare
f0648d0
to
a558c30
Compare
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
a558c30
to
20a0b9c
Compare
Was failing because master was broken with |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
2 similar comments
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This fix did not solve everything. I cannot see image previews on public share links (my.cloud/s/XXXXXX), and I see that PROPFIND request to public.php/webdav/ gives the 401 error. Using the workaround mentioned in the original issue - #42200 (comment) fixes this problem |
@michnovka are you sure your Webserver correctly forwards all headers to PHP? |
I am using the nginx config from https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html (checked after update to 28.0.2 and it is identical to this one) |
@susnux I confirmed with adding
|
/backport to stable24 #39924 was manually backported to 24, and therefore we need this change for 24 too. |
The backport to # Switch to the target branch and update it
git checkout stable24
git pull origin stable24
# Create the new backport branch
git checkout -b backport/42853/stable24
# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 20a0b9cb
# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/42853/stable24 Error: No changes found in backport branch Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports. |
Manual backport for 24: #44895 |
Fix #42200
Context
The original legacy (8+ years) check used to search for an exact header match
But after #39924 (I think) the check went wrong and we ended up with this