& should not be part of URLs...
[core.git] / inc / classes / main / response / http / class_HttpResponse.php
index 5822f1e..9b7a089 100644 (file)
@@ -152,7 +152,7 @@ class HttpResponse extends BaseResponse implements Responseable {
                } // END - if
 
                // Add redirect header
-               $this->addHeader('Location', $url);
+               $this->addHeader('Location', str_replace('&', '&', $url));
 
                // Set correct response status
                $this->setResponseStatus('301 Moved Permanently');