TypeError: Illegal offset type in isset or empty in FormValidator->performRequiredValidation()

Created on 17 May 2024, 7 months ago
Updated 12 July 2024, 5 months ago

Problem/Motivation

There were some poking around on our site and they were looking for security holes. This is related to πŸ“Œ Validating String Encodings Before Insert Active but for a specific probe that I think we can solve.

Steps to reproduce

  1. Setup a multi-select exposed taxonomy filter in a View (ajax turned on but I don't think that is needed?)
  2. Pass in a multi-dimensional array through the get arg: https://site.test/news?tags%5B0%5D%5B0%5D=4933

β†’

Proposed resolution

Check if the value is scalar.

Remaining tasks

User interface changes

(New or changed features/functionality in the user interface, modules added or removed, changes to URL paths, changes to user interface text.)

API changes

None

Data model changes

None

πŸ› Bug report
Status

Fixed

Version

10.3 ✨

Component
FormΒ  β†’

Last updated 1 day ago

Created by

πŸ‡¨πŸ‡¦Canada joelpittet Vancouver

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024