[Typo3-dev] USER_INT in FORM (class.tslib_content.php)
Stefan Klug
Klug.Stefan at gmx.de
Mon Oct 17 11:04:28 CEST 2005
Hi everybody,
I'm fairly new to Typo3 and I'm not sure if this is the correct list for
my question.
I try to use a USER_INT Object as default value for an Input field in
tt_board, to automatically insert the eMail/Name of the current user.
The problem is that in class.tslib_content.php function FORM in line
1673 (Typo3 Version 3.7.1 but applys to 3.8 also)
the dfault value is encoded by a hardcoded htmlspecialchars() which
prevents typo3 from recognizing the value as INT Object.
(<!--INT_SCRIPT.anycode--> is encoded to <!-- ... -->)
I also tried to set no_cache=1 for the complete FORM object but this
didn't work as expected.
Do I misunderstand the no_debug option completely or is there any other
way to force typo3 to regenerate the FORM for every request?
Shouldn't the htmlspecialchars be removed, as it's easyly possible to do
this by a stdWrap.
Thanks alot
Stefan
More information about the TYPO3-dev
mailing list