https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23378
Bug ID: 23378
Summary: Invalid OPAC search RSS: unescaped characters
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: OPAC
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
== Test plan ==
1. search something in the OPAC
2. open the RSS feed/copy the URL
3. validate it: https://validator.w3.org/feed/
4. you will get something like:
XML parsing error: <unknown>:16:48: not well-formed (invalid token)
<link>/cgi-bin/koha/opac-search.pl?idx=kw&q=MY_SEARCH_QUERY_HERE&format=rss2</link>
It seems that the equal sign needs some escaping.
I heard there were escape changes in the last few versions. Is that related?
The version 16.11 is said to not have this issue (although testing on a 16.11
demo gives the same result)
As someone who was consuming the RSS feed couldn't anymore when switching from
16.11 to 18.11
There are still escape differences between these versions even if the first
error is still here. Here are the differences if that helps.
18.05
<link>/cgi-bin/koha/opac-search.pl?idx=kw&q=lea&format=rss2</link>
<atom:link rel="self" type="application/rss+xml"
href="/cgi-bin/koha/opac-search.pl?idx%3Dkw%26q%3Dlea&sort_by=acqdate_dsc&format=rss2"/>
18.11
<link>/cgi-bin/koha/opac-search.pl?idx=kw&q=lea&format=rss2</link>
<atom:link rel="self" type="application/rss+xml"
href="/cgi-bin/koha/opac-search.pl?idx=kw&q=lea&sort_by=acqdate_dsc&format=rss2"/>
«idx=kw&» vs «idx=kw&»
«idx%3Dkw%26q%3D» vs «idx=kw»
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/