Validates URLs to have valid extensions or prevents URLs with invalid extensions
Supported Data Types
url, urllist
Scripted Extension Configuration XML
<propertyRule name="extensionvalidation" validExtensions="" invalidExtensions="" />
Plugin Configuration C#
property.Rules.Add(new PropertyRule { Name = "extensionvalidation", Options = new NameValueCollection { { "validExtensions", "" }, { "invalidExtensions", "" } } };
Options
Name | Description | Default | Options |
---|---|---|---|
validExtensions | Comma-separated list of valid file extensions without a leading period. | ||
invalidExtensions | Comma-separated list of invalid file extensions without a leading period. |