Project

General

Profile

Actions

Feature #17704

closed

Remove htmlspecialchars & strip_tags from hardcoded function

Added by Georg Ringer about 17 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
Start date:
2007-10-19
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.1
Tags:
Complexity:
Sprint Focus:

Description

Remove the htmlSpecialChars & strip_tags functions from function getAltParam() inside class.tslib_content.php and make it with TS

I suggest to set stripHtml to 0 to because there is no security issue (with htmlspecialchars = 1) and it would allow tags by default but I am also ok with = 1

tt_content.image.20.1.altText.stripHtml = 0
tt_content.image.20.1.altText.htmlSpecialChars = 1

(issue imported from #M6553)


Files

hardcodedfuncs.diff (1.66 KB) hardcodedfuncs.diff Administrator Admin, 2007-10-19 10:45
hardcodedfuncs2.diff (1.52 KB) hardcodedfuncs2.diff Administrator Admin, 2007-10-20 22:28
Actions

Also available in: Atom PDF