Make WordPress Core


Ignore:
Timestamp:
04/27/2012 03:40:00 PM (12 years ago)
Author:
nacin
Message:

Run rawurlencode_deep() through the parsed query in canonical. (Introduces rawurlencode_deep().) props toppa for the initial patch. fixes #20143.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/canonical.php

    r20596 r20611  
    302302        }
    303303
    304         $_parsed_query = array_map( 'rawurlencode', $_parsed_query );
     304        $_parsed_query = rawurlencode_deep( $_parsed_query );
    305305        $redirect_url = add_query_arg( $_parsed_query, $redirect_url );
    306306    }
Note: See TracChangeset for help on using the changeset viewer.