[TYPO3-core] Better filenames for TYPO3 "http" log

Martin Kutschker Martin.Kutschker at blackbox.net
Mon Aug 22 17:04:32 CEST 2005


Michael Stucki <michael at typo3.org> writes on 
Thu, 14 Jul 2005 10:08:32 +0200 (METDST):

> Martin Kutschker wrote:
> 
> 
> > This is a CVS patch request.
> > 
> > Type: New feature
> > 
> > Description:
> > This patch uses the t3lib_cs-translietartion for filenames instead
> > of replacing all non-ascii chars with underscores.
> > 
> > Branches: HEAD
> > 
> > Bugtracker reference: http://bugs.typo3.org/view.php?id=1152
> > 
> > Files:
> > class.tslib_fe.php-niceStatFileNames.patch
> 
> The patch is fine, but I think you should make the translation
> configurable since it slows down every(!) page request


I can introduce config.stat_apache_niceTitle. Only change to the patch is this conditional:

if ($this->config['config']['stat_apache_niceTitle']) {
$shortTitle = 
$this->csConvObj->specCharsToASCII($this->renderCharset,$this->page['title']);
} else {
$shortTitle = $this->page['title'];
}


> (maybe it makes sense to use it only if forceCharset is set?)


No, renderCharset is set to a meaningful value for the front end regardless of forceCharset.

Masi




More information about the TYPO3-team-core mailing list