How does it work?
This criterion lets you match based on the file name in the request URL and test whether the file name is present.
Operators
You can select the following logical conditions:
Value | The Rule is True When… |
---|---|
is one of | the incoming request includes any of the specified file names. |
is not one of | the incoming request does not include any of the specified file names. |
is empty | the incoming request does not include any filename component in the path. |
is not empty | the incoming request includes a file name component in the path. |
Fields
In the text field, enter the file names you want to match with extensions.
For a large number of values, you can paste the file names and separate them with a space, comma, or carriage return.
Wildcards
The file extension match supports the following wildcards:
Wildcard | Description | Example |
---|---|---|
* | matches zero or more characters | Use filename.* to accept any extension. Some possible valid results for this wildcard are filename.doc, filename.jpg, filename.txt. |
? | matches a single character | The rule includes a match with file extension of do?. Some possible valid results for this wildcard are filename.doc, filename.dot, filename.dos. Some possible invalid results are: filename.docx and filename.docm. |
Additional options
- Case-sensitive: If you select this option, the file name in the incoming request has to match the case of the entry.