thsmi / sieve

Sieve Script Editor
GNU Affero General Public License v3.0
729 stars 56 forks source link

Fixing support for invalid certificates #902

Closed pavhofman closed 9 months ago

pavhofman commented 9 months ago

When user accepts invalid certificate, the error code from the certificate validation is supposed to be stored in host.setIgnoreCertErrors. But the code is not passed to SieveCertValidationException constructor in SieveClients.mjs.

The patch adds the error code to the constructor call.

Fixes https://github.com/thsmi/sieve/issues/892

pavhofman commented 9 months ago

wrong commit