[BUGFIX] BELog module error: "vsprintf(): Too few arguments" 62/18762/2
authorDmitry Dulepov <dmitry.dulepov@gmail.com>
Wed, 6 Mar 2013 19:05:01 +0000 (23:05 +0400)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 19 Mar 2013 19:57:29 +0000 (20:57 +0100)
commit987f8e4c12b317bd7ae2d8b2269b67baf775d3a4
treec8d2c9c01069ea44b0e60aa9af728c6bd9617297
parentd813bd84def52c99b2ed0b1a712cca6396f38ac7
[BUGFIX] BELog module error: "vsprintf(): Too few arguments"

AbstractExceptionHandler contains a function named writeLog. That
function adds an entry to the system log. System log expects not
just a string but a string format with % characters. Callers of
this methods may supply a URL ("Request URL:" in the log message)
that contains % characters. vsprintf() in the BELog view helper
will complain about missing arguments to such string.

Change-Id: Ie080c0af1d93c28f8521b670a8ae8e63f8c4cfda
Resolves: #46077
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/18762
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/core/Classes/Error/AbstractExceptionHandler.php