Skip to content

Conversation

@joshtrichards
Copy link
Member

  • Resolves: #

Summary

The schema assets filter previously used preg_match(... ) !== false, which treats 0 (no match) as true and caused non-matching assets to be accepted. Use preg_match(... ) === 1 so the filter only accepts actual matches and avoids false positives.

TODO

  • ...

Checklist

The schema assets filter previously used preg_match(... ) !== false, which treats 0 (no match) as true and caused non-matching assets to be accepted. Use preg_match(... ) === 1 so the filter only accepts actual matches and avoids false positives.

Signed-off-by: Josh <[email protected]>
@joshtrichards joshtrichards added this to the Nextcloud 33 milestone Nov 3, 2025
@joshtrichards joshtrichards requested a review from a team as a code owner November 3, 2025 23:15
@joshtrichards joshtrichards added bug 3. to review Waiting for reviews labels Nov 3, 2025
@joshtrichards joshtrichards requested review from ArtificialOwl and icewind1991 and removed request for a team November 3, 2025 23:15
@joshtrichards joshtrichards added the feature: database Database related DB label Nov 3, 2025
This was referenced Jan 7, 2026
@nextcloud-bot nextcloud-bot mentioned this pull request Jan 14, 2026
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 feature: database Database related DB

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants