Cisco Cisco ASR 5000

Page of 9109
  Content Filtering Server Group Configuration Mode Commands 
url-extraction  ▀   
 
Command Line Interface Reference, StarOS Release 18  ▄  
 
   
2313 
url-extraction 
Enables configuration of ICAP URL extraction behavior. 
Product
 
CF 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > Global Configuration > Context Configuration > CFSG Configuration 
configure > context context_name > content-filtering server-group server_name
 
Entering the above command sequence results in the following prompt: 
[context_name]host_name(config-content-filtering)# 
Syntax
 
url-extraction { after-parsing | raw } 
default url-extraction 
default
 
Configures the default setting of 
after-parsing
after-parsing
 
Specifies sending the parsed URI and host name. Percent-encoded hex characters in URLs sent from the ACF 
client to the ICAP server will be converted to corresponding ASCII characters before being sent. 
For example, the URL: 
http://www.google.co.uk/?this%20is%20a%20test
 will be sent to the ICAP 
server as: 
http://www.google.co.uk/?this is a test
 
raw
 
Specifies sending raw URI and host name. The URLs will contain percent-encoded hex characters “as is”. 
For example, the URL 
http://www.google.co.uk/?this%20is%20a%20test
 will be sent to the ICAP 
server as: 
http://www.google.co.uk/?this%20is%20a%20test
 
Usage 
Use this command to configure the ICAP URL extraction behavior. Percent-encoded hex characters—for 
example, space (%20) and the percent character (%25)—in URLs sent from the ACF client to the ICAP 
server can be sent either as percent-encoded hex characters or as their corresponding ASCII characters. 
Example
 
The following command configures URLs sent from the ACF client to the ICAP server to contain the escape 
encoding as is:  
url-extraction raw