-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Saving a record using the DB datahandler htmlspecialchars all data #90
Comments
Hey @oliverklee , |
Hi @oliverklee, thanks for the help! I'll try that. Is there also a way to set this for a complete form? And in general, I think this default behavior is not correct. Data needs to be HSCed on output, not when it gets inserted into the DB. So I propose to change the default to not HSC the data on saving. |
Yes, I totally agree with you. I think we will discuss the issue again. |
This is a workaround for a bug in mkforms: DMKEBUSINESSGMBH/typo3-mkforms#90
This is a workaround for a bug in mkforms: DMKEBUSINESSGMBH/typo3-mkforms#90
Problem is that the escaping is done globally in the getValue() method of renderlets. There is no distinction between using the value in the FE output or elsewhere. But would be needed imho. |
If I save something using a TEXT renderlet, it gets htmlspecialchared before it gets saved into the DB.
Example
… gets saved as
The data must not be htmlspecialchared before it gets saved to the DB.
This is with the current master of mkforms (3.0.21) and rn_base (1.8.4).
The text was updated successfully, but these errors were encountered: