Closed (fixed)
Project:
Content Moderation Link
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Aug 2023 at 11:24 UTC
Updated:
1 Sep 2023 at 13:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
keshavv commentedAdded patch, please review.
Comment #4
mandclu commented@keshavv thanks for identifying this, and for providing a fix. It seems like it might be easier to take more of an allowlist approach than the provided denylist. In fact, with a little refactoring it would probably be possible to make sure only the intended fields get saved, without managing multiple arrays. That said, the provided code solves the challenge, so the refactoring I have in mind can be a future improvement.