bcosca/fatfree — pull request #43 by xfra35 (2012-06-12 12:50:40+00:00)
Title: Two bug fixes

Hi,
I've been using F3 for a few months now and I'm really impressed by your work. Congratulations guys !
Here are 2 small fixes :
- the first one concerns dynamic routes with tokens enclosed in curly braces (e.g. /thumb/{{@width}}x{{@height}}/@filename). The braces should be escaped twice because of the $uri preg_quote.
- the second one concerns the input filenames used in Graphics class. The case of an uppercase extension (e.g. mypic.JPG) leads to an error. This is not a common case, but it can happen in a situation where you don't control the filename syntax (ex: files uploaded by user).