Koha-clms/Koha/Auth
Hammat Wele 885a7c7c16 Bug 37157: Fix Malformed UTF-8 character in JSON string before decode_json
When we add a new identity provider and put some special characters in the Config or Mapping field, we got 500 error when we list the identity providers

To test:
1. Apply this patch.
2. Add a new identity provider
    2.1. fill the form
    2.2. click on «Add default Oauth configuration» and on «Add default Oauth mapping»
    2.3. put some special characters in Configuration and Mapping field
3. Save the form
=> Confirm the identity providers list is shown correctly

Also prove t/db_dependent/api/v1/provider.t.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 55b892dca4)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 5193b6d570)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2024-07-22 11:41:38 +02:00
..
Client Bug 31378: (follow-up) Fix QA concerns 2022-11-08 14:39:57 -03:00
Identity Bug 37157: Fix Malformed UTF-8 character in JSON string before decode_json 2024-07-22 11:41:38 +02:00
Client.pm Bug 36503: (follow-up) Use the call method of Koha::Plugins 2024-07-19 10:56:31 +02:00
Permissions.pm Bug 31389: Calculate user permissions in separate function 2022-09-22 08:39:21 -03:00
TwoFactorAuth.pm Bug 30843: Add mfa_range configuration option for TOTP 2023-09-25 10:53:51 -03:00