Chapter 4 Advanced Expressions: Evaluating Text 79

VPN and Clientless VPN Expression Prefixes that Return Text

VPN and Clientless VPN

Description

Expression

 

 

 

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_

This method ignores the empty elements in a

EMPTY_ELEMENTS

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.

Extracts the original URL from the clientless VPN

CVPN_DECODE

formatted URL.

VPN.CLIENTLESS_BASEURL.

Converts a URL to the clientless VPN format.

CVPN_ENCODE

 

VPN.CLIENTLESS_BASEURL.

Evaluates the host name in the URL.

HOSTNAME

Do not use this prefix in bidirectional policies.

 

 

Page 93
Image 93
Citrix Systems 9.2 Evaluates the protocol in the URL, Extracts a name-value list, using the =, After evaluating the header