HomePhabricator
Diffusion Comm ff04951e9757

[keyserver] Make sanitizeInput work even if validation fails

Description

[keyserver] Make sanitizeInput work even if validation fails

Summary:
We actually only use sanitizeInput when validation fails, so it's important that it works in this case.

See context here.

Test Plan: I added a test case to validation-utils.test.js that was failing before the changes in this diff

Reviewers: kamil, tomek

Reviewed By: tomek

Differential Revision: https://phab.comm.dev/D12391

Details

Provenance
ashoatAuthored on Jun 11 2024, 6:44 AM
Reviewer
tomek
Differential Revision
D12391: [keyserver] Make sanitizeInput work even if validation fails
Parents
rCOMMc604bb8def6a: [keyserver] Make sure to reset session when lastUpdate is 0
Branches
Unknown
Tags
Unknown