Skip to content

Conversation

@skjnldsv
Copy link
Member

@skjnldsv skjnldsv commented Dec 6, 2021

Signed-off-by: John Molakvoæ [email protected]

@skjnldsv skjnldsv requested review from a team, ArtificialOwl, PVince81, come-nc, mgallien and nickvergessen and removed request for a team December 6, 2021 14:17
@skjnldsv skjnldsv self-assigned this Dec 6, 2021
@skjnldsv skjnldsv added 3. to review Waiting for reviews bug high labels Dec 6, 2021
@skjnldsv skjnldsv added this to the Nextcloud 24 milestone Dec 6, 2021
Copy link
Contributor

@mgallien mgallien left a comment

Choose a reason for hiding this comment

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

but is it really enough to prevent files from being stored with old invalid mtime ?
is it possible to instead return an error to the client ?

@skjnldsv
Copy link
Member Author

skjnldsv commented Dec 6, 2021

but is it really enough to prevent files from being stored with old invalid mtime ? is it possible to instead return an error to the client ?

done

@skjnldsv skjnldsv requested a review from mgallien December 6, 2021 14:33
@nickvergessen
Copy link
Member

/backport to stable23

Signed-off-by: John Molakvoæ <[email protected]>
@skjnldsv
Copy link
Member Author

skjnldsv commented Dec 7, 2021

Tests fixed

@skjnldsv skjnldsv requested a review from come-nc December 7, 2021 08:40
@skjnldsv skjnldsv merged commit ee1fe51 into master Dec 7, 2021
@skjnldsv skjnldsv deleted the fix/sanitizeMtime branch December 7, 2021 11:12
@mgallien
Copy link
Contributor

mgallien commented Dec 8, 2021

@skjnldsv
as files got truncated on Monday after a version of this got applied I decided to test against it and a desktop client sending invalid modified time
the fact is that with what was merged in stable23 I got a 500 internal server error reported and the files is still written on storage

@skjnldsv
Copy link
Member Author

skjnldsv commented Feb 4, 2022

/backport to stable22

@PVince81
Copy link
Member

/backport to stable21

@PVince81
Copy link
Member

/backport to stable20

@blizzz
Copy link
Member

blizzz commented Feb 18, 2022

/backport to stable19

@blizzz
Copy link
Member

blizzz commented Feb 18, 2022

/backport to stable18

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 high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants