Forum Discussion
DNSgeek_90802
Dec 28, 2009Nimbostratus
So I changed my code to read:
when HTTP_REQUEST {
set myuri [HTTP::uri]
if { $::DEBUG }{
log "requri -> $myuri"
}
set myuri [string trimright $myuri .html ]
if { $::DEBUG }{
log "newuri -> $myuri"
}
Now the trimming seems to be having as expected. Thanks.