Issue Task Closed

#31826"die"-message dicloses full script path

Gerald Buttinger 11/15/11, 16:53 updated 12/08/13, 11:44

Description

in typo3 v.4.5.7, the file /typo3/sysext/dbal/class.ux_t3lib_db.php contains several lines, in which die-messages disclose the full file-path of the script (via FILE):

1459:
die($this->SQLparser->parse_error . ‘ in ‘ . FILE . ‘ : ‘ . LINE);

1466:
die(‘Could not parse where clause in ‘ . FILE . ‘ : ‘ . LINE);

1673:
die($this->SQLparser->parse_error . ‘ in ‘ . FILE . ‘ : ‘ . LINE);

1783:
die(‘Could not parse where clause in ‘ . FILE . ‘ : ‘ . LINE);

due to security-reasons, this should be concealed, or only output, if the debug-parameters in typo3conf allow it.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.