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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 21 16:29:06 CET 2016


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

            Bug ID: 16111
           Summary: RSS feed for OPAC search results has wrong content
                    type
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: gmcharlt at gmail.com
        QA Contact: testopia at bugs.koha-community.org

As a result of (ancient) commit f6e1214c, OPAC search result RSS feeds come
over with the content type text/html. It should be at least text/xml, and with
the demise of Internet Explorer 6, arguably application/rss+xml.

The cause: prior to that commit, setting the CGI parameter format to rss2
resulted in passing "rss" as the content type parameter to
output_with_http_headers; after that commit, rss2 was no longer properly
recognized when setting that parameter.

The main user-visible consequence is that clicking on the RSS link in Chrome
(when no feed-reader plugin is installed) renders the feed as HTML rather than
XML.

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


More information about the Koha-bugs mailing list