Project

General

Profile

Bug #21346 » bug_12324.patch

Administrator Admin, 2009-10-26 10:31

View differences:

t3lib/class.t3lib_div.php
* empty string otherwise
*/
public static function sanitizeBackEndUrl($url = '') {
$whitelistPattern = '/^[a-zA-Z0-9_\/\.&=\?]+$/';
$whitelistPattern = '/^[a-zA-Z0-9_\/\.&=\?~-]+$/';
if (!preg_match($whitelistPattern, $url)) {
$url = '';
}
(1-1/3)