[TYPO3-core] Bug in CVS

Bernhard Kraft kraftb at kraftb.at
Mon Nov 14 15:51:35 CET 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hallo,

Line 1670 of tslib/class.tslib_fe (Method "getConfigArray") is obviously broken:


$this->config['stat_vars']['pageName'] = str_replace('[path]', preg_replace('/[^.[:alnum:]\/_-]/','_',$path.'/',$pageName));

str_replace misses it's third parameter (the string in which to replace all occurences of param0)

Whoever committed this should fix it ...


greets,
Bernhard
- --
- ----------------------------------------------------------------------
"Freiheit ist immer auch die Freiheit des Andersdenkenden"
Rosa Luxemburg, 1871 - 1919
- ----------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDeKR3Il4dkVkDMFkRAgWdAJ9KcEum9VEGl50nE1fQ3KNjWwG0TwCgkmx9
pvSptAUoW9i8iGyKhcnI3M4=
=ekyg
-----END PGP SIGNATURE-----



More information about the TYPO3-team-core mailing list