jalmenarez / minify

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

Minifiers need checks for preg_replace output #48

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
ecroyd pointed out the need for sanity checks on the output of 
preg_replace calls, which output empty strings on error.

ecroyd's suggestion in Issue 46 is simple enough for single operations.

In some cases later operations depend on this work having being done, so 
it might be better just to return the original content or skip a whole 
section of processing.

Worst case should be the user gets back the original content with an error 
in her PHP logs.

Original issue reported on code.google.com by mrclay....@gmail.com on 13 Aug 2008 at 2:36

GoogleCodeExporter commented 9 years ago

Original comment by mrclay....@gmail.com on 11 Sep 2008 at 8:46

GoogleCodeExporter commented 9 years ago
I have an error [ERROR] :  Failed to minify 
E:\Project\Ti.Ui.Workspace\Restaurant\Resources\ui\common\CRUDHandle.js

What is this failed to minify.. how to solve it

Original comment by kpm.mani...@gmail.com on 27 Jan 2014 at 11:20