[TYPO3-core] RFC #8802: Fileadmin: extensions of new files

David Bruchmann typo3-team-core at bruchmann-web.de
Wed Aug 19 22:11:12 CEST 2009


----- Ursprüngliche Nachricht -----
Von:        Steffen Gebert <steffen at steffen-gebert.de>
Gesendet:   Mittwoch, 19. August 2009 21:53:35
An:         typo3-team-core at lists.netfielders.de
CC:
Betreff:    [TYPO3-core]  RFC #8802: Fileadmin: extensions of new files
> Hi!
> 
> This is a SVN patch request.
> 
> Type: bugfix
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=8802
> 
> Branches:
> Trunk
> 
> Problem:
> Fileadmin gives the following possibilities for file extensions of a new 
> created file:
>> Create new textfile
>> [txt,html,htm,css,inc,tmpl,js,sql,php,php3,php4,php5,php6]
> This is obviously wrong because .php* are denied by fileDenyPattern.
> 
> Solution:
> Remove all denied extension from list
> 
> Note:
> Instead of outputting
> [txt,html,htm,css,inc,...
> I changed it to
> [*.txt, *.html, *.htm, *.css, *.inc, ..
> which IMHO looks nicer and is more expressive.
> 
> Regards
> Steffen
> 

Hy Steffen,

*.inc files normally are php-files to (or pearl) but that doesn't matter 
because I think fileadmin should read the file deny pattern from 
localconf.php.
A restricted rule can be used as fallback when no correspondending 
settings are found in localconf.php.

Best regards,
David


More information about the TYPO3-team-core mailing list