82 Citrix NetScaler Policy Configuration and Reference Guide
VPN.CLIENTLESS_BASEURL.
QUERY.IGNORE_EMPTY_
ELEMENTS
Ignores empty elements in a name-value list. For
example, the following list contains an empty
element after “a=10”:
a=10;;b=11; ;c=89
The element following b=11 contains a space and
is not considered an empty element.
As another example, consider the following http
header:
Cust_Header : a=1;;b=2; ;c=3
The following expression returns a value of 4 after
evaluating the preceding header:
http.req.header("Cust_Header").
typecast_nvlist_t('=',';').ignore_
empty_elements.count
The following expression returns a value of 5 after
evaluating the preceding header:
http.req.header("Cust_Header").
typecast_nvlist_t('=',';')
VPN.CLIENTLESS_BASEURL.
SUFFIX Evaluates the file suffix in a URL. For example, if
the URL path is /a/b/c/mypage.html then this
operation selects html.
VPN.CLIENTLESS_HOSTURL Selects the clientless VPN host URL.
VPN.CLIENTLESS_HOSTURL.
CVPN_DECODE Selects the original URL from the clientless VPN
formatted URL.
VPN.CLIENTLESS_HOSTURL.
CVPN_ENCODE Converts a URL to clientless VPN format.
VPN.CLIENTLESS_HOSTURL.
HOSTNAME Extracts the host name in the URL.
Do not use this prefix in bidirectional policies.
VPN.CLIENTLESS_HOSTURL.
HOSTNAME.DOMAIN Extracts the domain name from the host name. For
example, if the host name is www.mycompany.
com or www.mycompany.com:8080, the domain is
mycompany.com.
This operation returns incorrect results if the host
name contains an IP address. For information on
expressions for IP addresses, see “Advanced
Expressions: IP and MAC Addresses,
Throughput, VLAN IDs,” on page 149.
All text operations after this prefix are case
insensitive.
VPN and Clientless VPN Expression Prefixes that Return Text
VPN and Clientless VPN
Expression Description