76Citrix NetScaler Policy Configuration and Reference Guide

HTTP Expression Prefixes that Return Text

Prefix

Description

 

 

HTTP.REQ.URL.PATH.

Ignores the empty elements in the list. For example, if

IGNORE_EMPTY_ELEMENTS

the element delimiter in the list is a comma, the

 

following list has an empty element following a=10:

 

a=10,b=11, ,c=89

 

The element following b=11 is not considered an empty

 

element.

 

As another example, consider the following header:

 

Cust_Header : 123,,24, ,15

 

The following expression returns a value of 4:

 

http.req.header("Cust_Header").typecast_

 

list_t(',').ignore_empty_elements.count

 

The following expression returns a value of 5:

 

http.req.header("Cust_Header").typecast_

 

list_t(','). count

HTTP.REQ.URL.QUERY.

This method ignores the empty elements in a name-

IGNORE_EMPTY_ELEMENTS

value list. For example, if the list delimiter is a

 

semicolon, the following list has an empty element

 

following a=10:

 

a=10;;b=11; ;c=89

 

The element following b=11 is not considered an empty

 

element.

 

For example, consider the following header:

 

Cust_Header : a=1;;b=2; ;c=3

 

The following expression returns a value of 4:

 

http.req.header("Cust_Header").typecast_

 

nvlist_t('=',';').ignore_empty_elements.

 

count

 

The following expression returns a value of 5:

 

http.req.header("Cust_Header").typecast_

 

nvlist_t('=',';'). count

Expression Prefixes for VPNs and Clientless

VPNs

The advanced expression engine provides prefixes that are specific to parsing VPN or Clientless VPN data. This data includes the following:

Host names, domains, and URLs in VPN traffic.

Protocols in the VPN traffic.

Page 90
Image 90
Citrix Systems 9.2 manual Expression Prefixes for VPNs and Clientless