82 Citrix NetScaler Policy Configuration and Reference Guide

VPN and Clientless VPN Expression Prefixes that Return Text

VPN and Clientless VPN

Description

Expression

 

 

 

VPN.CLIENTLESS_BASEURL.

Ignores empty elements in a name-value list. For

QUERY.IGNORE_EMPTY_

example, the following list contains an empty

ELEMENTS

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.

Evaluates the file suffix in a URL. For example, if

SUFFIX

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.

Selects the original URL from the clientless VPN

CVPN_DECODE

formatted URL.

VPN.CLIENTLESS_HOSTURL.

Converts a URL to clientless VPN format.

CVPN_ENCODE

 

VPN.CLIENTLESS_HOSTURL.

Extracts the host name in the URL.

HOSTNAME

Do not use this prefix in bidirectional policies.

 

 

VPN.CLIENTLESS_HOSTURL.

Extracts the domain name from the host name. For

HOSTNAME.DOMAIN

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.

 

 

Page 96
Image 96
Citrix Systems 9.2 Ignores empty elements in a name-value list. For, Example, the following list contains an empty, Header