Skip to content

Conversation

@icewind1991
Copy link
Member

It seems to for (some?) PUT requests, the params property gets set to a resource instead of an array.

Since an array is what is expected here by apps (it has been always documented like that iirc), instead of changing the return type to array|resource we just return an empty array if it isn't an array already.

@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Aug 28, 2018
@icewind1991 icewind1991 added this to the Nextcloud 14 milestone Aug 28, 2018
Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

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

🐘 Is there any related log entry or how did you noticed this one?

@rullzer rullzer merged commit 625c81b into master Aug 30, 2018
@rullzer rullzer deleted the request-params-array branch August 30, 2018 19:08
@MorrisJobke MorrisJobke mentioned this pull request Aug 30, 2018
6 tasks
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants