Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 0ea00c5f07f17ea8c6bbce81a52116c06d053089 1 parent e6905b4
teddy authored markstory committed
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);
Please sign in to comment.
Something went wrong with that request. Please try again.