[TYPO3-core] Further correction to MIME type determination

Martin Kutschker Martin.Kutschker at blackbox.net
Thu Apr 20 10:28:15 CEST 2006


Franz Holzinger <franz at fholzinger.com> writes on 
Thu, 20 Apr 2006 07:21:00 +0200 (METDST):

> Hello Stanislas,
> 
> 
> 
> >This is a CVS patch request.
> >
> >Type: Bugfix
> >
> >Description: MIME type may contain dot(.) and plus(+) characters.
> >
> >Branches: HEAD / TYPO3_4-0
> >
> >Bugtracker reference: http://bugs.typo3.org/view.php?id=3172


Seems to be the wrong one.


> >http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-core
> >
> this sounds reasonable.
> However as I have read it is now necessary to test it before a +1 can
> be given.
> How can I test it and which documents must I read to do it?


I'd test the regexp in a short test script. But there's not much that can fail, so +1

Masi

PS: Is it really necessary to escape anything besides a ] in a character class? All those extra \ make the class hard to read. 



More information about the TYPO3-team-core mailing list