[TYPO3-core] RFC: Bug #6817: Files with extension xml are ignored as resource of a template
Oliver Hader
oh at inpublica.de
Fri Nov 23 19:08:51 CET 2007
This is a SVN patch request.
Problem:
Uploading a xml file to a template (sys_template) is denied by TCEmain
since the extension 'xml' isn't part of the allowed file extensions. A
possibility would be to define 'xml' in the imagefile_ext, but XML isn't
an image... ;-)
Solution:
Add the extension xml to the allowed property of sys_template's $TCA.
Comments:
Are there any other extensions that are missing and required here?
If nobody objects or has other file extensions to be added, I'm going to
commit this nobrainer tomorrow.
Bugtracker references:
http://bugs.typo3.org/view.php?id=6817
Branches: TYPO3_4-1 & Trunk
olly
--
Oliver Hader
http://inpublica.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006817.patch
Type: text/x-diff
Size: 676 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20071123/2ea1f86b/attachment.patch
More information about the TYPO3-team-core
mailing list