// Shall we encrypt the cookie?
if ($encrypted === true) {
+ // Unsupported at the moment
+ $this->partialStub('Encryption is unsupported at the moment.');
} // END - if
// For slow browsers set the cookie array element first
} // END - if
// Add redirect header
- $this->addHeader('Location', $url);
+ $this->addHeader('Location', str_replace('&', '&', $url));
// Set correct response status
$this->setResponseStatus('301 Moved Permanently');
$this->setResponseBody($content);
// Set content type
- $this->addHeader('Content-type', "image/".$this->getImageInstance()->getImageType());
+ $this->addHeader('Content-type', 'image/' . $this->getImageInstance()->getImageType());
// Call parent method
parent::flushBuffer($force);