diff --git a/tools/rest/multi_binder.go b/tools/rest/multi_binder.go index 86b18de9..188a5811 100644 --- a/tools/rest/multi_binder.go +++ b/tools/rest/multi_binder.go @@ -113,6 +113,8 @@ func bindFormData(c echo.Context, i interface{}) error { // - any other string (empty string too) is left as it is func normalizeMultipartValue(raw string) any { switch raw { + case "": + return raw case "true": return true case "false":