Permalink
Browse files

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

  • Loading branch information...
Simon Wheatley
Simon Wheatley committed Apr 4, 2013
1 parent 367cdb3 commit f31b5634a744b2764d3c658dd2fb22e7a38d7481
Showing with 2 additions and 1 deletion.
  1. +2 −1 safe-redirect-manager.php
@@ -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

0 comments on commit f31b563

Please sign in to comment.