X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fresponse%2Fhttp%2Fclass_HttpResponse.php;h=9b7a089c0b8eddb95cb31f96b04ebd2355e42488;hp=5822f1efdbb26bae0c21325eb3951f7a3bf7b47e;hb=495c78d789898bf419094ace30a1a3ba5c33a2f3;hpb=3300f016521f4278c49783fa782094755824aa1b diff --git a/inc/classes/main/response/http/class_HttpResponse.php b/inc/classes/main/response/http/class_HttpResponse.php index 5822f1ef..9b7a089c 100644 --- a/inc/classes/main/response/http/class_HttpResponse.php +++ b/inc/classes/main/response/http/class_HttpResponse.php @@ -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');