|
@@ -916,7 +916,7 @@ The above example will strip all HTML tags from strings in the input.
|
916
|
916
|
|
917
|
917
|
### Type sanitation
|
918
|
918
|
|
919
|
|
-If you enable the 'sanitation' middleware, then you (automtically) also enable type sanitation. When this is enabled you may:
|
|
919
|
+If you enable the 'sanitation' middleware, then you (automatically) also enable type sanitation. When this is enabled you may:
|
920
|
920
|
|
921
|
921
|
- send leading and trailing whitespace in a non-character field (it will be ignored).
|
922
|
922
|
- send a float to an integer or bigint field (it will be rounded).
|
|
@@ -963,7 +963,7 @@ You can parse this output to make form fields show up with a red border and thei
|
963
|
963
|
|
964
|
964
|
### Type validations
|
965
|
965
|
|
966
|
|
-If you enable the 'validation' middleware, then you (automtically) also enable type validation.
|
|
966
|
+If you enable the 'validation' middleware, then you (automatically) also enable type validation.
|
967
|
967
|
This includes the following error messages:
|
968
|
968
|
|
969
|
969
|
| error message | reason | applies to types |
|