Closed (fixed)
Project:
Protected Forms
Version:
2.0.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Feb 2023 at 11:08 UTC
Updated:
19 May 2023 at 12:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
altagrade commentedAll issues must be filed against 2.0.x-dev. Feel free to re-open this ticket if it persists on 2.0.x-dev
Comment #3
j. commentedI am getting the error on 2.0.x-dev, 9.5, php 8.1. It happens after i logout/login.
Comment #4
j. commentedI think i found our problem. We aren't using any allowed patterns. So in our case $allowed_patterns is passing along an empty string, which then triggers the error in _string_to_array. This patch checks if $allowed_patterns has content before proceding.
Comment #7
keshavv commentedComment #8
tobiberlinI can confirm that the patch solves this issue
Comment #9
anybodyThe fix is strange, as the error in the issue summary is about
which is not affected here, but NULL-checked some lines before already.
This fix definitely doesn't make things worse, so let's merge it!
Comment #11
anybody