X Tutup
Skip to content

Public-files endpoint won't stream multistatus#39797

Merged
DeepDiver1975 merged 4 commits intomasterfrom
publicfiles_propfind_stream
Feb 17, 2022
Merged

Public-files endpoint won't stream multistatus#39797
DeepDiver1975 merged 4 commits intomasterfrom
publicfiles_propfind_stream

Conversation

@jvillafanez
Copy link
Member

Description

The public-files endpoint won't stream the result, preventing a malformed XML to be sent in some scenarios where an error happens

Related Issue

#39707

Motivation and Context

A malformed XML could cause additional issues

How Has This Been Tested?

Manually checked with the steps described in the linked issue.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Database schema changes (next release will require increase of minor version instead of patch)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:
  • Changelog item, see TEMPLATE

@update-docs
Copy link

update-docs bot commented Feb 16, 2022

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@ownclouders
Copy link
Contributor

💥 Acceptance tests pipeline webUIUpload-chrome-mariadb10.2-php7.4 failed. The build has been cancelled.

https://drone.owncloud.com/owncloud/core/34669/151/1

@ownclouders
Copy link
Contributor

💥 Acceptance tests pipeline webUIUpload-chrome-mariadb10.2-php7.4 failed. The build has been cancelled.

https://drone.owncloud.com/owncloud/core/34670/151/1

@jvillafanez
Copy link
Member Author

@phil-davis is this a known issue? I've tried to reproduce the failing test manually, but it works.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@jvillafanez
Copy link
Member Author

This is ready.

@DeepDiver1975 DeepDiver1975 merged commit 9218a76 into master Feb 17, 2022
@delete-merged-branch delete-merged-branch bot deleted the publicfiles_propfind_stream branch February 17, 2022 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

X Tutup