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

            Bug ID: 28446
           Summary: Fix encoding of OverDrive content on Your summary,
                    OverDrive Account
 Change sponsored?: ---
           Product: Koha
           Version: 20.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: OPAC
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

Created attachment 121377
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121377&action=edit
Screenshot of bad encoding

If you have borrowed a book from OverDrive it will show on "Your summary", on
the "OverDrive Account" tab. The display includes the title and description,
but this text is encoded wrong, see attached screenshot. 

It looks like the fix is to use to_json instead of encode_json in the call to
output_with_http_headers in opac/svc/overdrive:

  output_with_http_headers $cgi, undef, to_json($data), 'json', $status_line;

I will submit a patch for this once my customer has verified it does not break
anything else.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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/

Reply via email to