[Koha-bugs] [Bug 16111] RSS feed for OPAC search results has wrong content type

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 29 09:33:53 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16111

Magnus Enger <magnus at libriotech.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |magnus at libriotech.no
             Status|Needs Signoff               |Failed QA

--- Comment #4 from Magnus Enger <magnus at libriotech.no> ---
Testing in Firefox 45.0. Without the patch: 

- Do a search
- Click on the RSS icon
- Verify the response has a text/html content type

With the patch: 

- Do the same search
- Click on the RSS icon
- The response is now text/xml. Good! 
- But: Boom, Firefox shows this error: 

XML Parsing Error: no element found
Location:
http://kohadev/cgi-bin/koha/opac-search.pl?idx=kw&q=perl&count=50&sort_by=acqdate_dsc&format=rss2
Line Number 10, Column 1:

And the response from the server is just 10 blank lines, no content at all. 

For added weirdness: Chromium displays the RSS seemingly OK after applying the
patch.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list