WordPress.org

Ready to get started?Download WordPress

Forums

WP Minify
& in URL causes 400 Bad Request (5 posts)

  1. James Revillini
    Member
    Posted 2 years ago #

    & 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/

  2. James Revillini
    Member
    Posted 2 years ago #

    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.

  3. James Revillini
    Member
    Posted 2 years ago #

    sorry - should have specified all this in wp-minify.php

  4. paulschreiber
    Member
    Posted 2 years ago #

    The WordPress forums are clobbering the HTML entities here. Presumable jrevillini wants you to replace & amp; [no space] with &

  5. James Revillini
    Member
    Posted 2 years ago #

    @paulschreiber thanks for catching that. Yes, exactly.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags