jkgng / minify

Automatically exported from code.google.com/p/minify
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Minify_YUICompressor disallow charsets with digits #211

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
For example: utf-8 

Error in 
http://code.google.com/p/minify/source/browse/trunk/min/lib/Minify/YUICompressor
.php#113
preg_match('/^[a-zA-Z\\-]+$/', $o['charset'])
supposed to be 
preg_match('/^[\da-zA-Z\\-]+$/', $o['charset'])

Original issue reported on code.google.com by evgeniy....@gmail.com on 6 Dec 2010 at 1:53

GoogleCodeExporter commented 9 years ago
Oops! Thanks for catching that.

Original comment by mrclay....@gmail.com on 6 Dec 2010 at 2:23

GoogleCodeExporter commented 9 years ago
Fix in R437

Original comment by mrclay....@gmail.com on 19 Dec 2010 at 9:13