Actions
Bug #14191
closedIncorrect handling of %-sign in FORM.params
Start date:
2004-06-02
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
In case of % sign in extra parameters to form elements it incorrectly handles by sprintf as additional placeholder. This gives warning in class.tslib_content.php on line 1639 (may vary for different field types) and stop processing of this field.
example:
tt_content.search.30.params = style="width: 100%;"
will fires bug on search pages.
Solution:
Fix class.tslib_content.php by inserting
str_replace("%","%%",$addParams) into according sprintf calls (some field types handlers do not use sprintf, so one str_replace before all calls will not work).
(issue imported from #M132)
Actions