Fix Bug #939615: Invalid RSS-Feeds and OAI-Responses
This commit is contained in:
parent
f1334c90d5
commit
0556913bc9
|
@ -201,6 +201,9 @@ class tx_dlf_feeds extends tx_dlf_plugin {
|
|||
|
||||
$content = $rss->saveXML();
|
||||
|
||||
// Clean output buffer.
|
||||
t3lib_div::cleanOutputBuffers();
|
||||
|
||||
// Send headers.
|
||||
header('HTTP/1.1 200 OK');
|
||||
|
||||
|
|
|
@ -510,6 +510,9 @@ class tx_dlf_oai extends tx_dlf_plugin {
|
|||
|
||||
$content = $this->oai->saveXML();
|
||||
|
||||
// Clean output buffer.
|
||||
t3lib_div::cleanOutputBuffers();
|
||||
|
||||
// Send headers.
|
||||
header('HTTP/1.1 200 OK');
|
||||
|
||||
|
|
Loading…
Reference in New Issue