File Extension

How does it work?

This criterion lets you match based on the file extensions in the incoming requests. It doesn't examine data such as query strings that may be appended to an extension.

Operators

You can select the following logical conditions:

Value The Rule is True When...
is one ofthe incoming request includes any of the specified file extensions.
is not one ofthe incoming request does not include any of the provided file extensions.

Fields

Select the file extensions from the drop-down list or enter them manually without the dot at the beginning. For example: jpg, png, or gif.

For a large number of values, you can paste the extensions and separate them with a space, comma, or carriage return.

Wildcards

The file extension match supports the following wildcards with all operators:

Wildcard Description Example
* matches zero or more charactersThe rule includes a match with file extension of do*. Some possible valid results for this wildcard are doc, docx, docm.
?matches a single characterThe rule includes a match with file extension of do?. Some possible valid results for this wildcard are doc, dot, dos. Some possible invalid results are: docx and docm.

Additional options

  • Case-sensitive. If you select this option, the file extension in the incoming request has to match the case of the entry.