Permalink
Browse files

Reverse commit to create a clean feature branch for `create-permalink`.

  • Loading branch information...
1 parent bb1164b commit 985058a16829a50b804ec947db50b684417d6c32 Simon Wheatley committed Apr 4, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 safe-redirect-manager.php
@@ -765,8 +765,7 @@ public function action_parse_request() {
return;
// get requested path and add a / before it
- $requested_path = esc_url_raw( $_SERVER['REQUEST_URI'] );
- $requested_path = stripslashes( $requested_path );
+ $requested_path = sanitize_text_field( $_SERVER['REQUEST_URI'] );
/**
* If WordPress resides in a directory that is not the public root, we have to chop

0 comments on commit 985058a

Please sign in to comment.