Project

General

Profile

Actions

Bug #21574

closed

Validation issue in sysext lowlevel: Fix some warnings

Added by Christian Kuhn about 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-11-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Problem:
The t3lib_arraybrowser issues some warning when running the source through tidy.

Solution:
- a escaping malformed URI reference: Tons of a hrefs use $ and '. Escape them with urlencode properly
- trimming empty b: There are empty b tags if a key has no value. Omit the b tag if there is no content
- a cannot copy name attribute to id: The name attribute is deprecated and we should use id instead. The id's are unique, created by md5, but must not start with a number. Solution is to switch to id and add "a" as first character.

Notes:
The arraybrowser is only used in the configuration, aka lowlevel module in core.

(issue imported from #M12618)


Files

12618.diff (1.73 KB) 12618.diff Administrator Admin, 2009-11-16 23:53
Actions

Also available in: Atom PDF