[Koha-bugs] [Bug 15190] Bad utf8 decode to unapi and fixing code status 200

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 13 11:02:45 CET 2016


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15190

--- Comment #18 from Marc Véron <veron at veron.ch> ---
Hi Héctor, i did more testing:


cgi-bin/koha/unapi?id=koha:biblionumber:45100&format=xxx
cgi-bin/koha/unapi?id=koha:biblionumber:45100&format=

Result for both:
  406 invalid format requested
  Empty page

http://10.0.0.62/cgi-bin/koha/unapi?id=koha:biblionumber:999999999&format=oai_dc
Result:
  404 record not found
  Empty page

http://10.0.0.62/cgi-bin/koha/unapi?id=koha:biblionumber:xxxxxxxxxxxxx&format=oai_dc
Result:
  404 record not found
  Empty page

http://10.0.0.62/cgi-bin/koha/unapi?id=koha:blabla:1&format=oai_dc
Result:
  404 record not found
  Empty page

http://10.0.0.62/cgi-bin/koha/unapi?id=koha:biblionumber:1xxxxxxxxxxxxx&format=oai_dc
Result:
  200 OK
  Page beginning with: 
  oai_dc:dc xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/  
http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
  (...)
  Same as with koha:biblionumber:1 (existing number)

http://10.0.0.62/cgi-bin/koha/unapi?id=
Result:
  300 multiple choices
  Page beginning with:
  <formats id=""><format name="marcxml" type="application/xml" 
  (...)

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


More information about the Koha-bugs mailing list