Request to validate that the Partitioned CRL JSON Array field contains a well-formed array before accepting or saving the value
Categories
(CA Program :: Common CA Database, enhancement)
Tracking
(Not tracked)
People
(Reporter: CentralPKI, Unassigned)
Details
Steps to reproduce:
When updating new CA entries in CCADB, over 100 partitioned CRLs where included in the JSON array field. They were missing the beginning and end brackets [ ]. This resulted in a malformed array. The entry was saved with the missing characters.
Actual results:
The system accepted incorrectly formatted values for the Partitioned CRL JSON Array field. Specifically, the input lacked the required opening and closing brackets, resulting in an invalid JSON array. However, the system did not perform validation or display an error, allowing the malformed metadata to be saved and submitted without warning.
Expected results:
We recommend an enhancement to ensure that fields such as the Partitioned CRL JSON Array are validated for proper formatting upon entry. While we understand that CCADB may not be able to validate the semantic content of the field, it should be able to detect structural issues—such as missing brackets—that result in an invalid JSON array. If formatting errors are detected, the system should display a clear warning and prevent the user from saving or submitting the form until the input is corrected.
Description
•