& in the URL causes a 400 Bad Request for me - I'm on Windows 2003 Server running XAMPP. I've had to make the following mods in your code:
Replace $latest_modified_string = '&m='.$latest_modified; with $latest_modified_string = '&m='.$latest_modified; on line 486
Replace $debug_string = '&debug=true'; with $debug_string = '&debug=true'; on line 464
Replace $base_string = '&b='.$base; with $base_string = '&b='.$base; on line 472
http://wordpress.org/extend/plugins/wp-minify/
oh and on 480 $extra_string = '&'.$extra_minify_options; with $extra_string = '&'.$extra_minify_options;
incidentally, I know what you did shoud work ... Windows may be the problem here ... I don't know. I would expect this from IIS but not APache tho.
sorry - should have specified all this in wp-minify.php
paulschreiber
Member
Posted 5 months ago #
The WordPress forums are clobbering the HTML entities here. Presumable jrevillini wants you to replace & amp; [no space] with &
@paulschreiber thanks for catching that. Yes, exactly.