Skip to content

Commit cff3fd2

Browse files
authored
Update File.rst
Replace "type" and "types" parameters by "extension" and "extensions" in the extensionsMessage parameters list
1 parent 98604fb commit cff3fd2

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

reference/constraints/File.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,14 @@ You can find a list of existing mime types on the `IANA website`_.
282282
The message displayed if the extension of the file is not a valid extension
283283
per the `extensions`_ option.
284284

285-
.. include:: /reference/constraints/_parameters-mime-types-message-option.rst.inc
285+
==================== =============================================================
286+
Parameter Description
287+
==================== =============================================================
288+
``{{ file }}`` Absolute file path
289+
``{{ limit }}`` Maximum file size allowed
290+
``{{ extension }}`` The extension of the given file
291+
``{{ extensions }}`` The list of allowed file extensions
292+
==================== =============================================================
286293

287294
``mimeTypesMessage``
288295
~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)