Filename
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 file name 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. You can include several filenames and separate each with a space, comma, or carriage return.
Wildcards
You can use the following wildcard values to represent a file's extension when matching on a specific filename.
Wildcard | Description | Example |
---|---|---|
* | Matches all characters (including no characters). | Here, we use football.* to match files named "football" that use any extension. Possible valid results for this wildcard are football.doc, football.jpg, and football.mpeg. |
? | Matches a single character. | Here, we use football.do? to match files named "football" with a three letter extension beginning with "do." Some possible valid results for this wildcard are football.doc, football.dot, football.dos. But, since the ? only applies to a single character, so it wouldn't match on football.docx and football.docm. |
Case-sensitive
If you select this option, the filename in the incoming request has to match the case of the entry.
Updated over 2 years ago