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

ocdav: handle redirection prefixes when extracting destination from URL #1111

Merged
merged 5 commits into from
Aug 24, 2020

Conversation

ishank011
Copy link
Contributor

@ishank011 ishank011 commented Aug 20, 2020

The move, copy and trashbin function handler in ocdav extract the destination path from the URL by removing the base URL prefix from the URL path. This would fail in case there is a redirection prefix. This PR takes care of that.

It also allows zero-size uploads for localfs; closes #1104

@ishank011 ishank011 changed the title Handle redirection prefixes when extracting destination from URL ocdav: handle redirection prefixes when extracting destination from URL Aug 20, 2020
@labkode labkode merged commit f7d586d into cs3org:master Aug 24, 2020
@ishank011 ishank011 deleted the webdav-mv-prefix branch August 25, 2020 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reva create error when upload empty file when TUS is enabled
2 participants