Make WordPress Core

Ticket #9591: 9591.patch

File 9591.patch, 421 bytes (added by tosak, 13 years ago)

urldecode before match

  • classes.php

     
    198198                        // Look for matches.
    199199                        $request_match = $request;
    200200                        foreach ( (array) $rewrite as $match => $query) {
     201                                $match = rawurldecode($match);
    201202                                // Don't try to match against AtomPub calls
    202203                                if ( $req_uri == 'wp-app.php' )
    203204                                        break;