gaurav-spacreo / minify

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

Some PHP environments necessitate explicit exit() #140

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A user has placed Minify on a host that appends javascript (an unencoded 
HTML script block) to each PHP request. For Minify URLs the junk is 
appended after $cache->display(), breaking output.

The user can, of course, add "exit()" to the end of min/index.php, but 
does this belong in our releases? If it has no performance impact (ab 
testing needed) and no negative effects on other users, I don't see why 
not.

Original issue reported on code.google.com by mrclay....@gmail.com on 26 Sep 2009 at 7:35

GoogleCodeExporter commented 9 years ago
It's far more likely that appended Javascript/content would be due to a worm 
infection 
than to serve legitimate ads on free hosting. I'm leaving out the exit.

Original comment by mrclay....@gmail.com on 8 May 2010 at 8:30