Skip to content

Commit

Permalink
Apply prope sanitization to avoid stripping characters that shouldn't…
Browse files Browse the repository at this point in the history
… actually be stripped
  • Loading branch information
danielbachhuber committed Jan 19, 2013
1 parent ef24de3 commit 716bb61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion safe-redirect-manager.php
Expand Up @@ -741,7 +741,7 @@ 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 );

/**
Expand Down

0 comments on commit 716bb61

Please sign in to comment.