gaurav-spacreo / minify

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

2.1.4beta (ok with 2.1.3) IE8: 50% Syntax error at Line:1 Character:1 for g=js #213

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Minify version: 2.1.4beta
PHP version: 5.3.3

What steps will reproduce the problem?
1. reload page 
2. with minified group of 3 javascript files 
3. in IE 8.0.6001.18702
4. reload again

Expected output:
Loading of the minified javascript.

Actual output:
50% of reloads fail with a javascript Syntax error at character: 1, line: 1 for 
g=js&7
1=succeed, 2=fail, 3=success, 4=fail, etcetera

Did any unit tests FAIL? (Please do not post the full list)
1. !FAIL: environment : PHP/server should not auto-encode 
application/x-javascript output (1 of 80 tests run so far have failed)

Please provide any additional information below. If this has to do with URI
rewriting, please include your DOCUMENT_ROOT, the
Reverting back to version 2.1.3 solves the problem.

Original issue reported on code.google.com by cerieljacobs@gmail.com on 9 Dec 2010 at 10:28

GoogleCodeExporter commented 9 years ago
Is the error only in IE8?

Original comment by mrclay....@gmail.com on 10 Dec 2010 at 12:09

GoogleCodeExporter commented 9 years ago
My understanding is that you're on a host which injects advertising/tracking 
code into PHP responses. Minify cannot work reliably in this environment. 
Please open a new ticket with more information if this is not the case.

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