Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #528 from vantienvnn/2.0

CakeRequest::here explicitly using & as a query string separator to overcome issue in some badly configured 5.3 servers
  • Loading branch information...
commit 2840dc74d3755b2c50a02c9a87b3f90d2de49bf2 2 parents 8eea263 + c0b2d8a
@lorenzo lorenzo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Cake/Network/CakeRequest.php
View
2  lib/Cake/Network/CakeRequest.php
@@ -547,7 +547,7 @@ public function addPaths($paths) {
public function here($base = true) {
$url = $this->here;
if (!empty($this->query)) {
- $url .= '?' . http_build_query($this->query);
+ $url .= '?' . http_build_query($this->query, null, '&');
}
if (!$base) {
$url = preg_replace('/^' . preg_quote($this->base, '/') . '/', '', $url, 1);
Please sign in to comment.
Something went wrong with that request. Please try again.