You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- validateURL accepted mailto: and javascript: because it only checked u.IsAbs() without a scheme allowlist. Added AllowedSchemes to ConstraintsDef, defaulting to [http, https] to match the server validator.
- validateNumber accepted NaN and ±Inf; added math.IsNaN/math.IsInf guard matching server behavior.
- validateJSON ignored the json_schema constraint; wired in santhosh-tekuri/jsonschema/v6 (same library the server uses) to compile and validate when json_schema is set. Compile errors fail closed.
Closes#815
0 commit comments