File extension
Description
This match type lets you match based on file extensions. It doesn't examine data such as query strings that may be appended to an extension.
Cloudlets Supported
All Cloudlets support this match type.
Fields
For this match type, enter the extensions in the text box provided.
If you have a large number of values, you can paste them in if you 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 characters | The rule includes a match with file extension of do*. Some possible valid results for this wildcard are doc, docx, docm. |
? | matches a single character | The rule includes a match with file extension of do*. A possible valid results for this wildcard are doc, dot, dos. Some possible invalid results are: docx and docm. |
Operators
This match type uses these operators:
Value | The rule is true when | Example |
---|---|---|
is one of | the incoming request includes a file extension listed in the rule’s if clause. If you select Case Sensitive, then the file extension in the incoming request has to match the case of the entry on the rule screen. | The rule includes a match where the file extension is jpg, and case sensitivity hasn't been set. In this instance, the following values in the incoming request will be valid: jpg, jPg, jPG, jpG, Jpg, JPg, JPG, JpG. |
is not one of | the incoming request does not include a file extension listed in the rule’s if clause. If you select Case Sensitive, then the rule is false when the file extension in the incoming request matches the case of the entry on the rule screen. | The rule includes a match where the file extension is jpg, and case sensitivity hasn't been set. In this instance, all but the following values are valid: jpg, jPg, jPG, jpG, Jpg, JPg, JPG, JpG. |
Updated about 3 years ago