Should $request->getPost() and others modify data even when no filtering specified? |
(04-08-2021, 07:23 AM)MGatner Wrote: It sounds like the source of the issue is still unclear. I would certainly be glad to see a Bug Report and corresponding Pull Request with a fix, but I think you might need to demonstrate the issue first. My recommendation would be to peruse the framework tests and find a place to add a test that demonstrates the problem, then you can go about fixing it. How is it not clear? Did you read what I wrote? The reason this is in CI4 Discussion is that I don't know if the proposed solution (also clearly stated in my message) violates any foundational goals or deviates from intended milestones. $request->getPost(...) will convert nulls to empty strings, which seems to me to be undesired and unintended. How cleared can it get? |
Messages In This Thread |
Should $request->getPost() and others modify data even when no filtering specified? - by andre.tannus - 04-01-2021, 02:39 PM
RE: Should $request->getPost() and others modify data even when no filtering specified? - by MGatner - 04-08-2021, 07:23 AM
RE: Should $request->getPost() and others modify data even when no filtering specified? - by andre.tannus - 04-08-2021, 08:04 AM
RE: Should $request->getPost() and others modify data even when no filtering specified? - by MGatner - 04-09-2021, 04:26 AM
RE: Should $request->getPost() and others modify data even when no filtering specified? - by andre.tannus - 04-09-2021, 07:09 AM
RE: Should $request->getPost() and others modify data even when no filtering specified? - by MGatner - 04-10-2021, 05:33 AM
|