Skip to content
Permalink
Browse files

Unsetting url both with & w/o ->base to allow proper handling when ap…

…p not hosted at server's DocumentRoot
  • Loading branch information...
Patrick Barabe
Patrick Barabe committed Feb 19, 2014
1 parent 4497bab commit a9d77926783152048e26cd778c5ecacdddca47f0
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Cake/Network/CakeRequest.php
@@ -207,6 +207,7 @@ protected function _processGet() {
$query = $_GET;
}
unset($query['/' . str_replace('.', '_', urldecode($this->url))]);
unset($query[$this->base . '/' . str_replace('.', '_', urldecode($this->url))]);
if (strpos($this->url, '?') !== false) {
list(, $querystr) = explode('?', $this->url);

0 comments on commit a9d7792

Please sign in to comment.
You can’t perform that action at this time.