BarryCarlyon / minify

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

Current method of redirecting to builder or root fails when query params are restricted #284

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Are you sure this is not a problem with your configuration? (ask on the
Google Group)

Minify commit/version: 2.1.5
PHP version: 5.3

What steps will reproduce the problem?
1. Default Mandrake install of php_suhosin sets query values to max length of 
512
2. issue get request with f=<+512 characters>
3. $_GET['f'] is null 
3. index.php's header location to 'Builder' or '/' leads to recursive redirect. 

Expected output:
Error response? Debugging output: 'missing g or f params, maybe query string 
values are limited by the likes of: suhosin, etc.

Actual output:
Recursive redirect error in browser (ERR_TOO_MANY_REDIRECTS), no firePHP 
logging, little indication of possible causes.

Original issue reported on code.google.com by stoli.mi...@gmail.com on 19 Mar 2013 at 5:12

GoogleCodeExporter commented 9 years ago
Same problem there. It works on my dev environnement but not on the prod.

Original comment by webmas...@iklax.com on 11 Jun 2014 at 7:56