added eager empty string check
This commit is contained in:
		
							parent
							
								
									4ab9c6f87f
								
							
						
					
					
						commit
						91bbbc4bdb
					
				|  | @ -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": | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue