When user is adding input like,
node:1, user:1,node:1, , ,
explode() function output is,
Array ( [0] => node:1 [1] => user:1 [2] => )Array ( [0] => node:1 [1] => [2] => [3] => )
It processes the unwanted values and passes into the Cache invalidator function.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | bad-user-input-3131508-02.patch | 668 bytes | dishabhadra |
Issue fork ctc-3131508
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
dishabhadra commentedAdded the patch for the same. Please review.
Comment #4
gslente commentedPatch at #2 has been reviewed and tested and is working fine.
Patch will be ported to merge request.
Comment #9
gslente commentedAdded merge request based on patch from #2
https://git.drupalcode.org/project/ctc/-/merge_requests/6/diffs
Kindly review. Thank you.
Comment #10
yuvaniaThanks for the merge request. I tested it and it works perfectly. Ready to move forward!