[Bug 23378] New: Invalid OPAC search RSS: unescaped characters
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: oleonard@myacpl.org Reporter: victor.grousset@biblibre.com QA Contact: testopia@bugs.koha-community.org == 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.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23378 Victor Grousset/tuxayo <victor.grousset@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23378 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.renvoize@ptfs-europe | |.com --- Comment #1 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Possibly caused by bug 21526..? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23378 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |21526 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21526 [Bug 21526] TT variables used to build a link should be uri filtered -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23378 David Roberts <david.roberts@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david.roberts@ptfs-europe.c | |om -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23378 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=16111 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23378 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from Owen Leonard <oleonard@myacpl.org> --- *** This bug has been marked as a duplicate of bug 16111 *** -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org