Open smichaelsen opened 7 months ago
Hi @smichaelsen,
Please see my comment on #143. I still think it's wrong to fall back to colpos 0 as there might be some configuration which gets applied here. There needs to be a check for some whitelist items according to some value from the request and return early without any content_defender interaction.
You mean an early return in the content_defender hook class if some crucial fields are not provided? I can change my PR in that direction, if you want.
When content elements are created as inline records (for example in news) they usually don't come with a colPos. This results in a fatal error with PHP 8.