Merge lp:~sebastian-meyer/goobi-presentation/bug939615 into lp:goobi-presentation/1.1

Proposed by Sebastian Meyer
Status: Merged
Merged at revision: 61
Proposed branch: lp:~sebastian-meyer/goobi-presentation/bug939615
Merge into: lp:goobi-presentation/1.1
Diff against target: 26 lines (+6/-0)
2 files modified
dlf/plugins/feeds/class.tx_dlf_feeds.php (+3/-0)
dlf/plugins/oai/class.tx_dlf_oai.php (+3/-0)
To merge this branch: bzr merge lp:~sebastian-meyer/goobi-presentation/bug939615
Reviewer Review Type Date Requested Status
Sebastian Meyer Approve
Review via email: mp+94403@code.launchpad.net

Commit message

Fix Bug #939615: Invalid RSS-Feeds and OAI-Responses

To post a comment you must log in.
Revision history for this message
Sebastian Meyer (sebastian-meyer) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'dlf/plugins/feeds/class.tx_dlf_feeds.php'
2--- dlf/plugins/feeds/class.tx_dlf_feeds.php 2011-09-16 13:20:02 +0000
3+++ dlf/plugins/feeds/class.tx_dlf_feeds.php 2012-02-23 16:19:43 +0000
4@@ -201,6 +201,9 @@
5
6 $content = $rss->saveXML();
7
8+ // Clean output buffer.
9+ t3lib_div::cleanOutputBuffers();
10+
11 // Send headers.
12 header('HTTP/1.1 200 OK');
13
14
15=== modified file 'dlf/plugins/oai/class.tx_dlf_oai.php'
16--- dlf/plugins/oai/class.tx_dlf_oai.php 2011-10-06 15:23:28 +0000
17+++ dlf/plugins/oai/class.tx_dlf_oai.php 2012-02-23 16:19:43 +0000
18@@ -510,6 +510,9 @@
19
20 $content = $this->oai->saveXML();
21
22+ // Clean output buffer.
23+ t3lib_div::cleanOutputBuffers();
24+
25 // Send headers.
26 header('HTTP/1.1 200 OK');
27

Subscribers

People subscribed via source and target branches

to all changes: