projects
/
core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
& should not be part of URLs...
[core.git]
/
inc
/
classes
/
main
/
response
/
http
/
class_HttpResponse.php
diff --git
a/inc/classes/main/response/http/class_HttpResponse.php
b/inc/classes/main/response/http/class_HttpResponse.php
index 5822f1efdbb26bae0c21325eb3951f7a3bf7b47e..9b7a089c0b8eddb95cb31f96b04ebd2355e42488 100644
(file)
--- 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
} // END - if
// Add redirect header
- $this->addHeader('Location',
$url
);
+ $this->addHeader('Location',
str_replace('&', '&', $url)
);
// Set correct response status
$this->setResponseStatus('301 Moved Permanently');
// Set correct response status
$this->setResponseStatus('301 Moved Permanently');