Skip to content

Check if params data cannot be JSONified

What does this MR do and why?

This MR aims to handle a situation where binary data is included in the params data structure. We check if the blob.data can be turned into JSON, and if not, that specific blob is not included in the list of blobs to check against GitGuardian.

cc @igor.drozdov, @jpcyiza

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to Invalid Unicode 500 Error when pushing an image... (#473837 - closed)

Edited by Ash McKenzie

Merge request reports

Loading