We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4844962 commit dafd120Copy full SHA for dafd120
README.md
@@ -818,9 +818,11 @@ The field under this rule must be valid ipv6.
818
819
</details>
820
821
-<details><summary><strong>extension</strong>:png,jpg,...</summary>
+<details><summary><strong>extension</strong>:extension_a,extension_b,...</summary>
822
823
-The field under this rule must be a file path or url with an extension matching one of those in the given list.
+The field under this rule must end with an extension corresponding to one of those listed.
824
+
825
+This is useful for validating a file type for a given a path or url. The `mimes` rule should be used for validating uploads.
826
827
828
0 commit comments