Chapter 4 Advanced Expressions: Evaluating Text 79
VPN.BASEURL.PROTOCOL Evaluates the protocol in the URL.
Do not use this prefix in bidirectional policies.
VPN.BASEURL.QUERY Extracts a name-value list, using the “=” and “&”
delimiters from the query string in a URL.
VPN.BASEURL.QUERY.IGNORE_
EMPTY_ELEMENTS This method ignores the empty elements in a
name-value list. For example, in the following
name-value list, there is an empty element
following “a=10”:
a=10;;b=11; ;c=89
The element following b=11 contains a space and
is not considered an empty element.
Consider the following HTTP header:
Cust_Header : a=1;;b=2; ;c=3
The following expression produces a count of 4
after evaluating this header:
http.req.header("Cust_Header").
typecast_nvlist_t('=',';').ignore_
empty_elements.count
The following expression produces a count of 5
after evaluating the header:
http.req.header("Cust_Header").
typecast_nvlist_t('=',';').
VPN.BASEURL.SUFFIX Evaluates the file name suffix in a URL.
For example, if the path is /a/b/c/my.page.html,
this operation selects “html”.
VPN.CLIENTLESS_BASEURL Evaluates the clientless VPN base URL.
VPN.CLIENTLESS_BASEURL.
CVPN_DECODE Extracts the original URL from the clientless VPN
formatted URL.
VPN.CLIENTLESS_BASEURL.
CVPN_ENCODE Converts a URL to the clientless VPN format.
VPN.CLIENTLESS_BASEURL.
HOSTNAME Evaluates the host name in the URL.
Do not use this prefix in bidirectional policies.
VPN and Clientless VPN Expression Prefixes that Return Text
VPN and Clientless VPN
Expression Description