fix: base64 options doesn't apply #2548
Labels
status: needs triage
Issues which needs to be reproduced to be verified report.
type: fix
Issues describing a broken feature.
Description
By passing
{ urlSafe: true }
to@IsBase64
, it is supposed to validate base64url correctly, but it doesn’t seem to work properly.Minimal code-snippet showcasing the problem
Expected behavior
It should log
Successfully validated
Actual behavior
It logs
Failed to validate
The text was updated successfully, but these errors were encountered: