Skip to content

Conversation

@rullzer
Copy link
Member

@rullzer rullzer commented May 30, 2018

Backport of #9692

If a PUT request comes in that is not JSON or from encoded. Then we can
only read it (exactly) once. If that is the case we must assume no
shared secret is set.

If we don't then we either are the first to read it, thus causing the
real read of the data to fail.

Or we are later and then it throws an exception (also failing the
request).

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@rullzer rullzer added bug 3. to review Waiting for reviews labels May 30, 2018
@rullzer rullzer added this to the Nextcloud 12.0.8 milestone May 30, 2018
@rullzer rullzer changed the title Make sure the log doesn't try to read from PUT if it can't [stable12] Make sure the log doesn't try to read from PUT if it can't May 30, 2018
@MorrisJobke MorrisJobke mentioned this pull request May 31, 2018
2 tasks
@MorrisJobke MorrisJobke requested a review from skjnldsv June 1, 2018 10:04
@MorrisJobke MorrisJobke merged commit a55241c into stable12 Jun 1, 2018
@MorrisJobke MorrisJobke deleted the backport/9692/stable12 branch June 1, 2018 10:17
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.

4 participants