Skip to content

Commit

Permalink
Reverse commit to create a clean feature branch for create-permalink.
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Wheatley committed Apr 4, 2013
1 parent 367cdb3 commit f31b563
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion safe-redirect-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,8 @@ public function action_parse_request() {
return;

// get requested path and add a / before it
$requested_path = sanitize_text_field( $_SERVER['REQUEST_URI'] );
$requested_path = esc_url_raw( $_SERVER['REQUEST_URI'] );
$requested_path = stripslashes( $requested_path );

/**
* If WordPress resides in a directory that is not the public root, we have to chop
Expand Down

0 comments on commit f31b563

Please sign in to comment.