-
Notifications
You must be signed in to change notification settings - Fork 2.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
empty path has no parents #31988
empty path has no parents #31988
Conversation
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.
Code makes sense, strange that this wasn't discovered before.
I'm also surprised that the logic in getParents() didn't result in an empty array.
Anyway, looks good and safe 👍
PHP CS fixer unhappy and some tests fail |
024c55f
to
757a5d2
Compare
Codecov Report
@@ Coverage Diff @@
## master #31988 +/- ##
============================================
+ Coverage 63.49% 63.49% +<.01%
- Complexity 18545 18547 +2
============================================
Files 1167 1167
Lines 69544 69548 +4
Branches 1264 1264
============================================
+ Hits 44155 44159 +4
Misses 25020 25020
Partials 369 369
Continue to review full report at Codecov.
|
@PVince81 |
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
757a5d2
to
e163543
Compare
damn... I see. I'd like to find out why this wasn't discovered earlier. Maybe in most envs and scenarios the etag change somehow doesn't always affect syncing. |
@butonic please backport, for 10.0.10 |
@PVince81 AFAICT only mounted public links to a file are represented with |
hmmm, but the zsync stuff is only on master ? are you able to reproduce this on stable10 ? |
Backport |
what can I say ... 😞
Without this a public share, mounted as a federated share in the root of a users home will hav its etag overwritten with a uniqeid on every propfind, causing endless downloads.
How to reproduce:
Expected behavior:
multiple PROPFINDS give the same md5 etag
Actual behavior:
every propfind returns a new uniqueid