Citrix Systems Network Router 9.2 User Manual

Page of 302
84
Citrix NetScaler Policy Configuration and Reference Guide
VPN.CLIENTLESS_HOSTURL.
PATH.IGNORE_EMPTY_ELEMENTS 
This method ignores the empty elements in a list. 
For example, if the delimiter in a list is “,” the 
following list contains an empty element after the 
entry “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 header: 
Cust_Header : 123,,24, ,15 
The following expression returns a value of 4 for 
this header:
http.req.header("Cust_Header").
typecast_list_t(','). ignore_empty_
elements.count 
The following expression returns a value of 5 for 
the same header:
http.req.header("Cust_Header").
typecast_list_t(',').
VPN.CLIENTLESS_HOSTURL.
PATH_AND_QUERY
Evaluates the portion of the URL that follows the 
host name. 
For example, consider the following URL:
http://www.mycompany.com/a/b/c/mypage.
html?a=1 
This prefix returns /a/b/c/mypage.html?a=1 from 
the preceding URL.
VPN.CLIENTLESS_HOSTURL.
PROTOCOL
Evaluates the protocol in the URL. 
Do not use this prefix in bidirectional policies.
VPN.CLIENTLESS_HOSTURL.
QUERY
Extracts a name-value list, using the “=” and “&” 
delimiters from a URL query string.
VPN and Clientless VPN Expression Prefixes that Return Text
VPN and Clientless VPN 
Expression
Description