Koha-clms/t/db_dependent/api/v1
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
..
items Bug 35963: (QA follow-up): tidy up code and fix exec permission 2024-03-11 10:42:34 +01:00
acquisitions_baskets.t Bug 29523: Remove the FIXME 2023-10-27 16:40:45 -03:00
acquisitions_funds.t Bug 29523: Remove the FIXME 2023-10-27 16:40:45 -03:00
acquisitions_orders.t Bug 36066: (follow-up) Move 403 to 409 when status ne cancelled 2024-03-11 15:35:52 +01:00
acquisitions_vendor_issues.t Bug 33105: Tidy files 2023-07-20 10:59:31 -03:00
acquisitions_vendors.t Bug 33103: Add REST API tests 2023-04-20 15:48:39 -03:00
advanced_editor_macros.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
article_requests.t Bug 29759: (follow-up) Fix api/v1/article_requests.t 2022-02-02 09:48:33 -10:00
auth.t Bug 34999: Add unit test 2024-01-17 10:18:42 +01:00
auth_authenticate_api_request.t Bug 32551: Regression tests 2024-01-15 15:16:19 +01:00
auth_basic.t Bug 36420: Unit tests 2024-05-23 15:29:14 +02:00
authorised_values.t Bug 32997: (QA follow-up) values => authorised_values 2023-03-02 12:00:17 -03:00
authorities.t Bug 33996: Add missing authority objects mapping 2023-06-29 11:11:12 -03:00
biblios.t Bug 33036: REST API: Merge biblio records implements merging of records 2024-03-21 10:43:30 +01:00
bookings.t Bug 36100: (QA follow-up) Move 400 to 409 2024-03-11 11:00:23 +01:00
cashups.t Bug 36493: Make cashups test more robust 2024-05-23 14:36:13 +02:00
checkouts.t Bug 35469: Add 'manage_bookings' subpermission to /checkouts 2024-03-11 11:22:54 +01:00
cities.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
clubs_holds.t Bug 27593: Regression tests 2021-02-23 13:16:07 +01:00
erm_agreements.t Bug 32353: Fix erm_agreements.t 2023-02-23 07:43:00 -03:00
erm_counter_files.t Bug 34587: (QA follow-up): squash 2023-10-31 16:46:30 -03:00
erm_counter_registries.t Bug 35757: (QA follow-up) Tidy 2024-01-15 15:02:22 +01:00
erm_custom_reports.t Bug 36093: (QA follow-up) Fix unit tests 2024-05-23 15:55:22 +02:00
erm_documents.t Bug 32030: (QA follow-up) Enable BasicAuth for ERM tests 2022-11-08 11:55:23 -03:00
erm_eholdings_packages.t Bug 32923: Some fixes in ERM specs 2023-02-27 11:07:19 -03:00
erm_eholdings_resources.t Bug 32030: (QA follow-up) Enable BasicAuth for ERM tests 2022-11-08 11:55:23 -03:00
erm_eholdings_titles.t Bug 35115: (QA follow-up): 2023-11-29 17:36:10 -03:00
erm_licenses.t Bug 32030: (QA follow-up) Enable BasicAuth for ERM tests 2022-11-08 11:55:23 -03:00
erm_sushi_services.t Bug 37043: Update the base URL for the Counter Registry API 2024-06-27 09:59:25 +02:00
erm_usage_data_providers.t Bug 34587: Fix license issues 2023-11-01 09:26:11 -03:00
erm_usage_titles.t Bug 34587: Fix license issues 2023-11-01 09:26:11 -03:00
erm_users.t Bug 12133: Fix failing tests 2023-11-14 10:32:36 -03:00
holds.t Bug 8367: (QA follow-up) Fix broken tests 2023-11-02 10:22:40 -03:00
idp.t Bug 31378: (QA follow-up) Tidy tests 2022-11-08 14:40:17 -03:00
ill_backends.t Bug 22440: Move backend statuses api endpoint 2023-05-05 09:13:43 -03:00
ill_batches.t Bug 30719: (QA follow-up) Pick better column names and cleanup 2023-10-17 14:45:23 -03:00
ill_batchstatuses.t Bug 30719: (QA follow-up) Rename illbatchstatuses 2023-10-17 14:45:22 -03:00
ill_requests.t Bug 29523: Fix tests 2023-10-28 09:47:38 -03:00
import_batch_profiles.t Bug 28272: Fix many things... 2021-05-11 09:04:13 +02:00
import_record_matches.t Bug 30855: (follow-up) Rewrite tests using Basic authentication 2022-06-02 13:42:28 -03:00
item_groups.t Bug 24857: API spec 2022-07-08 15:59:55 -03:00
item_types.t Bug 34008: Harmonize attribute names 2023-11-01 17:23:15 -03:00
items.t Bug 36687: (RM follow-up) Fix unit tests 2024-05-24 16:55:17 +02:00
jobs.t Bug 33852: Add one more test 2023-06-09 08:29:01 -03:00
libraries.t Bug 36482: Add embed tests 2024-05-24 10:15:28 +02:00
oauth.t Bug 28722: Regression tests 2021-09-30 09:19:05 +02:00
pagination.t Bug 35129: Regression tests 2024-05-23 11:22:39 +02:00
password_validation.t Bug 36575: (QA follow-up) 2024-06-06 10:59:48 +02:00
patron_categories.t Bug 26297: (QA follow-up): Update tests 2024-05-24 12:14:59 +02:00
patrons.t Bug 30230: (QA follow-up) Add unit tests for API definition change 2024-02-01 16:22:55 +01:00
patrons_accounts.t Bug 21043: Handle exceptions and switch to debit response 2023-05-05 12:13:52 -03:00
patrons_checkouts.t Bug 22613: Add GET endpoint /patrons/{patron_id}/checkouts 2024-05-24 10:55:11 +02:00
patrons_extended_attributes.t Bug 31381: Add tests 2022-11-30 15:58:13 -03:00
patrons_holds.t Bug 35353: Add REST API endpoint to retrieve old holds 2024-05-24 10:07:38 +02:00
patrons_password.t Bug 29272: (QA follow-up) Category setup overrides syspref 2021-10-28 12:16:37 +02:00
patrons_password_expiration.t Bug 29926: (QA follow-up) Date format missing in spec 2022-05-06 10:33:10 -10:00
patrons_recalls.t Bug 35967: Add more test cases 2024-05-23 16:22:16 +02:00
preservation_Processings.t Bug 30708: Tidy perl files 2023-10-18 15:42:04 -03:00
preservation_Trains.t Bug 30708: Tidy perl files 2023-10-18 15:42:04 -03:00
preservation_WaitingList.t Bug 30708: Tidy perl files 2023-10-18 15:42:04 -03:00
provider.t Bug 37157: Fix Malformed UTF-8 character in JSON string before decode_json 2024-07-22 11:41:38 +02:00
query.t Bug 32713: Unit tests 2023-03-16 16:12:26 -03:00
return_claims.t Bug 32496: Reduce unnecessary unblessings of objects in Circulation.pm 2023-09-22 10:52:39 -03:00
search_filters.t Bug 17170: (QA follow-up) Spec cleanup 2022-10-21 11:15:22 -03:00
smtp_servers.t Bug 34243: Fix copy/pasted city references in api tests 2023-07-14 08:59:49 -03:00
stockrotationstage.t Bug 27587: Use Basic auth on API tests - stockrotationstage.t 2021-02-08 17:09:34 +01:00
suggestions.t Bug 32942: (QA follow-up) Fix regression test 2023-09-18 15:31:46 -03:00
ticket_updates.t Bug 31028: (follow-up) Fix executable bit 2023-03-07 14:54:29 -03:00
tickets.t Bug 36612: Unit test for public ticket add 2024-05-22 14:55:51 +02:00
transfer_limits.t Bug 36329: (follow-up) Fix error message comparisson in testes 2024-03-21 11:07:57 +01:00
two_factor_auth.t Bug 30588: (QA follow-up) Remove erroneous FIXME 2022-10-21 11:36:59 -03:00
unhandled_exceptions.t Bug 29857: Rename base class as Koha::Exception 2022-03-01 22:47:47 -10:00