Chapter 4 Advanced Expressions: Evaluating Text 81

VPN and Clientless VPN Expression Prefixes that Return Text

VPN and Clientless VPN

Description

Expression

 

 

 

VPN.CLIENTLESS_BASEURL.

Ignores empty elements in a list. For example, if

PATH.IGNORE_EMPTY_ELEMENTS

the list delimiter is a comma (,) the following list

 

has 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 : 123,,24, ,15

 

The following expression returns a value of 4 after

 

evaluating this header:

 

http.req.header("Cust_Header").

 

typecast_list_t(',').ignore_empty_

 

elements.count

 

The following expression returns a value of 5 after

 

evaluating this header:

 

http.req.header("Cust_Header").

 

typecast_list_t(',').

VPN.CLIENTLESS_BASEURL.

Evaluates the text following the host name in a

PATH_AND_QUERY

URL.

 

For example, this prefix selects /a/b/c/mypage.

 

html?a=1 from the following URL:

 

http://www.mycompany.com/a/b/c/mypage.

 

html?a=1

 

 

VPN.CLIENTLESS_BASEURL.

Evaluates the protocol in the URL.

PROTOCOL

Do not use this prefix in bidirectional policies.

 

 

VPN.CLIENTLESS_BASEURL.

Extracts a name-value list that uses the delimiters

QUERY

“=” and “&” from a URL query string.

Page 95
Image 95
Citrix Systems 9.2 manual Ignores empty elements in a list. For example, if, List delimiter is a comma , the following list