84 Citrix NetScaler Policy Configuration and Reference Guide

VPN and Clientless VPN Expression Prefixes that Return Text

VPN and Clientless VPN

Description

Expression

 

 

 

VPN.CLIENTLESS_HOSTURL.

This method ignores the empty elements in a list.

PATH.IGNORE_EMPTY_ELEMENTS

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.

Evaluates the portion of the URL that follows the

PATH_AND_QUERY

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.

Evaluates the protocol in the URL.

PROTOCOL

Do not use this prefix in bidirectional policies.

 

 

VPN.CLIENTLESS_HOSTURL.

Extracts a name-value list, using the “=” and “&”

QUERY

delimiters from a URL query string.

Page 98
Image 98
Citrix Systems 9.2 This method ignores the empty elements in a list, For example, if the delimiter in a list is, Host name