0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 23:33:15 -05:00
forgejo/modules/validation
Gusted 310376525b
[CHORE] Use forked binding library
- Use the forked [binding](https://code.forgejo.org/go-chi/binding)
library. This library has two benefits, it removes the usage of
`github.com/goccy/go-json` (has no benefit as the minimo library is also
using it). It adds the `TrimSpace` feature, which will during the
binding part trim the spaces around the value it got from the form, this
is done before validation.
2024-11-05 22:47:34 +01:00
..
binding.go [CHORE] Use forked binding library 2024-11-05 22:47:34 +01:00
binding_test.go [CHORE] Use forked binding library 2024-11-05 22:47:34 +01:00
email.go fix: use ValidateEmail as binding across web forms 2024-08-28 22:25:17 -06:00
email_test.go fix: use ValidateEmail as binding across web forms 2024-08-28 22:25:17 -06:00
glob_pattern_test.go [CHORE] Use forked binding library 2024-11-05 22:47:34 +01:00
helpers.go fix: use ValidateEmail as binding across web forms 2024-08-28 22:25:17 -06:00
helpers_test.go
refname_test.go [CHORE] Use forked binding library 2024-11-05 22:47:34 +01:00
regex_pattern_test.go [CHORE] Use forked binding library 2024-11-05 22:47:34 +01:00
validatable.go added validation fixes 2024-05-14 08:31:34 +02:00
validatable_test.go added validation fixes 2024-05-14 08:31:34 +02:00
validurl_test.go [CHORE] Use forked binding library 2024-11-05 22:47:34 +01:00