Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle uncaught invalid single values. #89

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sig-steve
Copy link

It appears that in SilverStripe 3.6.1 (if not others) that single-valued field values can be passed in from the client. These values do not get checked to see whether they refer to validFileIDs from the session.

The change here is to ensure that single values (that are not in an array) are also checked against the valid file ids.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant