Project

General

Profile

Actions

Task #39060

closed

Better use of sanitizeLocalUrl in db list

Added by Dominique Feyer over 12 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2012-07-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

db list use sanitizeLocalUrl, at line 192 (4.7), like this:

if (t3lib_div::sanitizeLocalUrl(t3lib_div::_GP('returnUrl'))) {
  $location = t3lib_div::sanitizeLocalUrl(t3lib_div::_GP('returnUrl'));
  t3lib_utility_Http::redirect($location);
}

A no brainer improvement is possible ;)

Actions

Also available in: Atom PDF