Skip to content

fix(files_sharing): allow strict validation of shares#58616

Open
susnux wants to merge 1 commit intomasterfrom
fix/external-shares
Open

fix(files_sharing): allow strict validation of shares#58616
susnux wants to merge 1 commit intomasterfrom
fix/external-shares

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Feb 27, 2026

Summary

API response sometimes includes null for unset, but unset (undefined) is something different than null.
So if null is passed we mean undefined instead.

Strict validation was introduced in files v4 so NC33+.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

API response sometimes includes `null` for unset, but unset
(`undefined`) is something different than `null`.
So if `null` is passed we mean `undefined` instead.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux added this to the Nextcloud 34 milestone Feb 27, 2026
@susnux susnux added the bug label Feb 27, 2026
@susnux susnux requested a review from a team as a code owner February 27, 2026 15:55
@susnux susnux added the 3. to review Waiting for reviews label Feb 27, 2026
@susnux susnux requested review from nfebe, skjnldsv and szaimen and removed request for a team February 27, 2026 15:55
@susnux
Copy link
Contributor Author

susnux commented Feb 27, 2026

/backport to stable33

Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

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

🐘

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants