How to: Configure meta-characters in a user-defined URL¶
In this example we configure allowed meta-characters in a user-defined URL:
{
"policy": {
"name": "user_defined_URL",
"template": {
"name": "POLICY_TEMPLATE_RATING_BASED"
},
"applicationLanguage": "utf-8",
"enforcementMode": "blocking",
"blocking-settings": {
"violations": [
{
"name": "VIOL_URL",
"alarm": true,
"block": true
},
{
"name": "VIOL_URL_METACHAR",
"alarm": true,
"block": true
}
]
},
"urls": [
{
"method": "*",
"name": "/meta*",
"protocol": "http",
"type": "wildcard",
"metacharsOnUrlCheck": true,
"metacharOverrides": [
{
"isAllowed": true,
"metachar": "0x3c"
},
{
"isAllowed": false,
"metachar": "0x28"
}
],
"wildcardOrder": 2
}
]
}
}