Skip to content
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

Use a proper upload file so propfinds return 404 #20570

Merged
merged 2 commits into from
Apr 24, 2020

Conversation

rullzer
Copy link
Member

@rullzer rullzer commented Apr 20, 2020

Fixes #20235, Closes #20569

By using an UploadFile we make sure that we don't need to have another
check everywhere for the path. But we just have ot check (which we have
to anyway) if it is a proper Connector/File (or directory).

Signed-off-by: Roeland Jago Douma [email protected]

@kesselb
Copy link
Contributor

kesselb commented Apr 20, 2020

Nice 👍 That works because sabreNode is not a instance of Node anymore 👏

Fixes #20235

By using an UploadFile we make sure that we don't need to have another
check everywhere for the path. But we just have ot check (which we have
to anyway) if it is a proper Connector/File (or directory).

Signed-off-by: Roeland Jago Douma <[email protected]>
@rullzer rullzer force-pushed the fix/20235/use_uploadfile branch from d0e130c to 8730cc6 Compare April 21, 2020 08:33
@kesselb

This comment has been minimized.

Copy link
Contributor

@kesselb kesselb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@rullzer
Copy link
Member Author

rullzer commented Apr 21, 2020

@kesselb feel free to directly push to the branch :)

This was referenced Apr 21, 2020
Copy link
Member

@georgehrke georgehrke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code makes sense 👍

@rullzer rullzer merged commit 768b012 into master Apr 24, 2020
@rullzer rullzer deleted the fix/20235/use_uploadfile branch April 24, 2020 14:31
@tobiasKaminsky
Copy link
Member

Can we have a backport of this?
It is fixed in latest Android version, but I am sure that not all update their mobile.
So having it fixed on both sides is more safe :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Instant upload from Android app fails
4 participants