Browse files

urldecode $this->url before unsetting it from CakeRequest->query

  • Loading branch information...
1 parent e6905b4 commit 0ea00c5f07f17ea8c6bbce81a52116c06d053089 teddy committed with markstory Feb 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Network/CakeRequest.php
View
2 lib/Cake/Network/CakeRequest.php
@@ -184,7 +184,7 @@ protected function _processGet() {
$query = $_GET;
}
- unset($query['/' . str_replace('.', '_', $this->url)]);
+ unset($query['/' . str_replace('.', '_', urldecode($this->url))]);
if (strpos($this->url, '?') !== false) {
list(, $querystr) = explode('?', $this->url);
parse_str($querystr, $queryArgs);

0 comments on commit 0ea00c5

Please sign in to comment.